From: Alexey Lapshin Date: Wed, 9 Apr 2025 16:17:05 +0000 (+0000) Subject: gdb: unix: extend supported baudrate B_codes X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=767529d73ea5e5f1dba2e4fe171c219074ae6f64;p=thirdparty%2Fbinutils-gdb.git gdb: unix: extend supported baudrate B_codes Added B_codes that may be supported in some unix systems Approved-By: Simon Marchi Change-Id: I48624d6573dc6c72e26818dd44b24182c1dabb70 --- diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c index cb803a58593..db614c86171 100644 --- a/gdb/ser-unix.c +++ b/gdb/ser-unix.c @@ -289,14 +289,32 @@ baudtab[] = 4800, B4800 } , +#ifdef B7200 + { + 7200, B7200 + } + , +#endif { 9600, B9600 } , +#ifdef B14400 + { + 14400, B14400 + } + , +#endif { 19200, B19200 } , +#ifdef B28800 + { + 28800, B28800 + } + , +#endif { 38400, B38400 } @@ -307,6 +325,12 @@ baudtab[] = } , #endif +#ifdef B76800 + { + 76800, B76800 + } + , +#endif #ifdef B115200 { 115200, B115200