patch to add vxworks target to insight gui
Don Bowman
don@sandvine.com
Mon Feb 11 07:04:00 GMT 2002
This fairly simple patch adds support for vxworks RDB targets
to the insight gui. I've ammended it slightly from the previous
to unmap the "PORT" box that is not used for VxWorks.
*** 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) "ETH"
+ 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 }
}
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}]
}
}
More information about the Insight
mailing list