This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
patch to add vxworks target to insight gui
- From: Don Bowman <don at sandvine dot com>
- To: "'gdb-patches at sources dot redhat dot com'" <gdb-patches at sources dot redhat dot com>
- Date: Tue, 29 Jan 2002 14:09:27 -0500
- Subject: patch to add vxworks target to insight gui
This fairly simple patch adds support for vxworks RDB targets
to the insight gui.
*** targetselection.itb.old Tue Jan 29 13:37:45 2002
--- targetselection.itb Tue Jan 29 13:38:42 2002
***************
*** 225,230 ****
--- 225,238 ----
set gdb_target(ciscotcp,cmd) "cisco tcpX"
set gdb_target(ciscotcp,runlist) {1 0 0 0}
set gdb_target(ciscotcp,after_attaching) "set os cisco"
+
+ # VxWorks
+ set gdb_target(vxworks,pretty-name) "VxWorks RDB"
+ set gdb_target(vxworks,defbaud) "TCP"
+ set gdb_target(vxworks,baud-rates) {}
+ set gdb_target(vxworks,cmd) "vxworks ipX"
+ set gdb_target(vxworks,runlist) { 1 0 1 1}
+ set gdb_target(vxworks,after_attaching) { sym vxWorks.st.whole }
}
body TargetSelection::default_port {} {
*** interface.tcl.old Tue Jan 29 13:36:01 2002
--- interface.tcl Tue Jan 29 13:44:22 2002
***************
*** 1032,1037 ****
--- 1032,1039 ----
set targ [lrep $targ "tcpX" ${hostname}:${portnum}]
# replace "ethX" with hostname
set targ [lrep $targ "ethX" e=${hostname}]
+ # replace "ipX" with hostname
+ set targ [lrep $targ "ipX" ${hostname}]
}
}