Re: questions / suggestions about gdb

Petr Sorfa
2002-05-08T13:58:12Z

Hi Eli,

> > I've done work along these lines and I might resume it in the future.
> > However, the idea of keeping the "retarded" process running in parallel
> > in real time is difficult and unworkable.
>
> Agreed. However, it would be a great feature to be able to run the
> program in reverse. Some debuggers actually allow that (don't ask me
> how).

There are several methods, but one them is undoing the machine code
instructions. Also it is possible to generate additional debug
information from the compiler to assist in certain tasks. I agree that
running a second process is dangerous as basically all IO is going to be
replicated, which will cause all sorts of horrors.

Petr