public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* RE: patch to add vxworks target to insight gui
@ 2002-02-11  7:04 Don Bowman
  0 siblings, 0 replies; 3+ messages in thread
From: Don Bowman @ 2002-02-11  7:04 UTC (permalink / raw)
  To: Don Bowman, 'keiths@redhat.com',
	'insight@sources.redhat.com'

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}]
      }
    }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: patch to add vxworks target to insight gui
@ 2002-01-29 11:37 Don Bowman
  0 siblings, 0 replies; 3+ messages in thread
From: Don Bowman @ 2002-01-29 11:37 UTC (permalink / raw)
  To: 'Martin M. Hunt', Don Bowman; +Cc: insight

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}]
> >       }
> >     }
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: patch to add vxworks target to insight gui
       [not found] <FE045D4D9F7AED4CBFF1B3B813C853371BC16C@mail.sandvine.com>
@ 2002-01-29 11:28 ` Martin M. Hunt
  0 siblings, 0 replies; 3+ messages in thread
From: Martin M. Hunt @ 2002-01-29 11:28 UTC (permalink / raw)
  To: Don Bowman; +Cc: insight

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}]
>       }
>     }

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-11 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-11  7:04 patch to add vxworks target to insight gui Don Bowman
  -- strict thread matches above, loose matches on Subject: below --
2002-01-29 11:37 Don Bowman
     [not found] <FE045D4D9F7AED4CBFF1B3B813C853371BC16C@mail.sandvine.com>
2002-01-29 11:28 ` Martin M. Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).