Re: RFC: next/finish/etc -vs- exceptions

Phil Muldoon
2010-11-30T17:15:49Z

Jan Kratochvil <jan.kratochvil@redhat.com> writes:

>> I thought that gdb did not support nested inferior-control commands like
>> this.
>>
>> It would be a nice feature.
>
> I was thinking Phil was coding something like that with Python commands
> attached to breakpoints. It would need more fixes but I was just pointing
> out an incompatibility also in this code.
>
> With current GDB it seems OK to me.

Conditional breakpoints in Python that evaluate a Python function to
determine whether or not to stop. Though there is no reason why in the
future what you describe could not happen with commands attached to a
breakpoint.

Cheers,

Phil