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

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Oct 30 13:07:27 CEST 2010


On 30 October 2010 11:26, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> 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.
>

That's not exactly what I meant. I remember back in Delphi 7 (maybe
even as far back as D5), that I changed the execution point, so it can
re-execute a procedure but with different values - no need to
recompile or restart the application.

Delphi 2010 has improved on that by simply dragging and dropping the
execution point while in debug mode. I did some googleing and remember
I fiddled with the CPU registers to accomplish what I did, but
couldn't remember what registers.

Google found my exact answer. I see I can modify the CPU registers in
MSEide, but I don't think this is possible with Lazarus IDE. Just
tried, and it seems to work in MSEide - I'll do more testing to
confirm. The register in question was EIP.

Here is the google link I found.

   http://www.deltics.co.nz/blog/?p=606



-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/



More information about the fpc-pascal mailing list