How to store function-name and its return values while program runs

Michael Snyder msnyder@vmware.com
Sat Nov 22 00:48:00 GMT 2008


Joel Brobecker wrote:
>> I wished many times that above worked, but it doesn't: 'finish'
>> appears to interrupt flow of script, and subsequent commands are
>> never executed:
> [...]
>> Is this a bug?
> 
> It actually isn't. The manual tries to explain why:
> 
>> Any other commands in the command list, after a command that resumes
>> execution, are ignored. This is because any time you resume execution
>> (even with a simple next or step), you may encounter another
>> breakpoint--which could have its own command list, leading to
>> ambiguities about which list to execute.
> 
> Most of the users at AdaCore view this as a limitation, but I haven't
> really had the energy to look at improving this.

Mumble.  I'm sorry -- of course I knew about that, but I
must have dreamed that somebody had done something about it
a while back...



More information about the Gdb mailing list