Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Question about TCP/IP stubs, gdb-5.2.1
@ 2002-09-17  8:28 Robert Bedichek
  2002-09-17  8:32 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Bedichek @ 2002-09-17  8:28 UTC (permalink / raw)
  To: gdb


The only TCP/IP stub I found was for Wince.  I need one for Linux.  Does
anyone have a pointer to a stub, the thing that runs on the target, or the
machine being debugged, that is closer to what I need than the Wince stub
included in 5.2.1?  (The architecture is x86)

Thanks in advance!

	Robert Bedichek


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

* Re: Question about TCP/IP stubs, gdb-5.2.1
  2002-09-17  8:28 Question about TCP/IP stubs, gdb-5.2.1 Robert Bedichek
@ 2002-09-17  8:32 ` Daniel Jacobowitz
  2002-09-17  8:52   ` Robert Bedichek
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2002-09-17  8:32 UTC (permalink / raw)
  To: Robert Bedichek; +Cc: gdb

On Tue, Sep 17, 2002 at 08:28:09AM -0700, Robert Bedichek wrote:
> 
> The only TCP/IP stub I found was for Wince.  I need one for Linux.  Does
> anyone have a pointer to a stub, the thing that runs on the target, or the
> machine being debugged, that is closer to what I need than the Wince stub
> included in 5.2.1?  (The architecture is x86)

Are you talking about application level debugging?  If so, you want
gdbserver, which is included in the GDB release.  If you're talking
about kernel level debugging, then TCP/IP is generally considered
impractical from an interrupt context.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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

* Re: Question about TCP/IP stubs, gdb-5.2.1
  2002-09-17  8:32 ` Daniel Jacobowitz
@ 2002-09-17  8:52   ` Robert Bedichek
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Bedichek @ 2002-09-17  8:52 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb


Thanks for the pointer to gdbserver, that might be the best starting
point.

What I want this for a connection to a full system simulator.  I
used to compile simulators directly with gdb, but this time I want them
separated.  There are seveal reasons, but one is that I want to be able to
have thousands of simulators running for days in an LSF-managed farm.  I
want to be able to connect to a simulator, do some debugging, and
disconnect, letting the simulator run some more.  This is like attaching
to processes with regular gdb.

So what I plan to do at this point, unless someone has an even better
suggestion, is to start with gdbserver, rip out the part that talks to a
Linux process, and make it so that it can be compiled with the simulator
and access the simulator data structures directly.

Thanks again!

 On Tue, 17 Sep 2002, Daniel Jacobowitz wrote:

> On Tue, Sep 17, 2002 at 08:28:09AM -0700, Robert Bedichek wrote:
> >
> > The only TCP/IP stub I found was for Wince.  I need one for Linux.  Does
> > anyone have a pointer to a stub, the thing that runs on the target, or the
> > machine being debugged, that is closer to what I need than the Wince stub
> > included in 5.2.1?  (The architecture is x86)
>
> Are you talking about application level debugging?  If so, you want
> gdbserver, which is included in the GDB release.  If you're talking
> about kernel level debugging, then TCP/IP is generally considered
> impractical from an interrupt context.
>
> --
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
>


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

end of thread, other threads:[~2002-09-17 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17  8:28 Question about TCP/IP stubs, gdb-5.2.1 Robert Bedichek
2002-09-17  8:32 ` Daniel Jacobowitz
2002-09-17  8:52   ` Robert Bedichek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox