This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]