This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
RE: patch to add vxworks target to insight gui
- From: Don Bowman <don at sandvine dot com>
- To: "'Martin M. Hunt'" <hunt at redhat dot com>, Don Bowman <don at sandvine dot com>
- Cc: insight at sources dot redhat dot com
- Date: Tue, 29 Jan 2002 14:37:17 -0500
- Subject: RE: patch to add vxworks target to insight gui
Thanks very much.
vxworks has an implicit portnumber (it uses rpc portmapper)
to find the actual port, that's why I did the ipX instead
of the tcpX.
> -----Original Message-----
> From: Martin M. Hunt [mailto:hunt@redhat.com]
> Sent: January 29, 2002 14:28
> To: Don Bowman
> Cc: insight@sources.redhat.com
> Subject: Re: patch to add vxworks target to insight gui
>
>
> Don,
>
> Insight patches should be sent to "insight@sources.redhat.com"
>
> In your patch, you declare vxworks to use TCP but there is no
> port number.
> Is there something missing or maybe you should use
>
> set gdb_target(vxworks,cmd) "vxworks tcpX"
>
> --
> Martin Hunt
> GDB Engineer
> Red Hat, Inc.
>
> On Tuesday 29 January 2002 11:09 am, Don Bowman wrote:
> > 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}]
> > }
> > }
>