Re: [discuss] Support for reverse-execution

Michael Snyder
2005-05-20T21:25:04Z

> 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.