This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
a simple baudrate patch
- To: gdb-patches at sources dot redhat dot com
- Subject: a simple baudrate patch
- From: Mark Salter <msalter at redhat dot com>
- Date: Fri, 21 Jul 2000 17:12:45 -0400
Here's a simple patch to add 115200 baud support for serial remote
targets in the gdbtk gui.
--Mark
diff -uNr gdb-4.18.orig/gdb/gdbtk/library/targetselection.itb gdb-4.18/gdb/gdbtk/library/targetselection.itb
--- gdb-4.18.orig/gdb/gdbtk/library/targetselection.itb Fri Feb 4 08:52:34 2000
+++ gdb-4.18/gdb/gdbtk/library/targetselection.itb Fri Jul 21 09:34:14 2000
@@ -93,7 +93,7 @@
# Remote
set gdb_target(remote,pretty-name) "Remote/Serial"
set gdb_target(remote,defbaud) "9600"
- set gdb_target(remote,baud-rates) {9600 19200 38400 57600}
+ set gdb_target(remote,baud-rates) {9600 19200 38400 57600 115200}
set gdb_target(remote,cmd) "remote com1"
set gdb_target(remote,runlist) {1 1 0 1}
set gdb_target(remote,after_attaching) {}