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

ABorka fpc-devel at aborka.com
Sat Oct 30 21:41:48 CEST 2010


On 10/30/2010 04:07, Graeme Geldenhuys wrote:
> 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.
.
.snip
.


This was there back in Delphi 5 already. All you needed to do is to 
switch to CPU view, and "Set new CS:IP" and you could re-execute that 
part of the code. It is one of the things I really really miss (it saved 
hours of wasted time when debugging of the handling of different 
conditions in the code)

Not to mention to see every variable and object property value I want, 
without a doctorate in GDB and Lazarus internals.

AB




More information about the fpc-pascal mailing list