This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [discuss] Support for reverse-execution
- From: Michael Snyder <msnyder at redhat dot com>
- To: Dan Shearer <dan at virtutech dot com>, gdb at sources dot redhat dot com
- Date: Fri, 20 May 2005 14:24:56 -0700
- Subject: Re: [discuss] Support for reverse-execution
> In general I really like the idea of GDB better catering to
> non-remote simulators. You'll notice that almost none of the
> whole-system simulators in the free software world have
> integrated debugging and I'd >love to make that easier.
Traditionally, that's how we used to do it, and we still can
(see src/sim). I think we've tended in the direction of letting
the sim be a separate program because sims like SID are so big.
Linking them in to gdb would make both huge.
The approach of using the remote protocol is very flexible.
The debugger and the sim can be running on the same host,
or on opposite sides of the planet. If they're on the same
host, running packets thru a socket really doesn't slow us
down all that much. But there is a function-call interface
for linking gdb to a sim if its wanted.