aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Lapshin <alexey.lapshin@espressif.com>2025-04-09 16:17:05 +0000
committerSimon Marchi <simon.marchi@efficios.com>2025-06-06 15:52:38 -0400
commit767529d73ea5e5f1dba2e4fe171c219074ae6f64 (patch)
tree42459142e1c5fd07146c825a1d9ebf625013ec8b
parent8d46965efced0843b1ed94fd0517055e737f263e (diff)
downloadbinutils-767529d73ea5e5f1dba2e4fe171c219074ae6f64.zip
binutils-767529d73ea5e5f1dba2e4fe171c219074ae6f64.tar.gz
binutils-767529d73ea5e5f1dba2e4fe171c219074ae6f64.tar.bz2
gdb: unix: extend supported baudrate B_codes
Added B_codes that may be supported in some unix systems Approved-By: Simon Marchi <simon.marchi@efficios.com> Change-Id: I48624d6573dc6c72e26818dd44b24182c1dabb70
-rw-r--r--gdb/ser-unix.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index cb803a5..db614c8 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