[fpc-pascal] Re: setting variables with DWARF in gdb

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Oct 30 11:26:54 CEST 2010


On 30 Oct 2010, at 09:57, Graeme Geldenhuys wrote:

> Do you know how to move the
> execution point back to an earlier line? eg: I want to execute the
> program to call the same procedure, but with a different variable, so
> I want to set execution back a few source lines, change the variable,
> and then step forward again.

Reverse execution is a new feature that was added to gdb 7.0, although you probably want to use 7.2 for the extra bug fixes. The supported targets are listed at http://www.gnu.org/software/gdb/news/reversible.html (nobody has added support for Windows yet) and the instructions on how to use it are on the wiki page linked from that page.


Jonas


More information about the fpc-pascal mailing list