]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: unix: extend supported baudrate B_codes
authorAlexey Lapshin <alexey.lapshin@espressif.com>
Wed, 9 Apr 2025 16:17:05 +0000 (16:17 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 6 Jun 2025 19:52:38 +0000 (15:52 -0400)
Added B_codes that may be supported in some unix systems

Approved-By: Simon Marchi <simon.marchi@efficios.com>
Change-Id: I48624d6573dc6c72e26818dd44b24182c1dabb70

gdb/ser-unix.c

index cb803a585938f300dcb540df41031a94ef2d8143..db614c86171220a65988cb395de0cb6c38d1af1d 100644 (file)
@@ -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