This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA/PATCH] breakpoint.c: fix until command


Elena Z writes:
> this is essentially what it does now.  But instead of erroring out it
> stops at the exit from the current frame.  Because we cannot reliably
> distinguish a. from b. Roughly, your error is equivalent to exiting
> the frame.

Yes.  It is quite similar to the existing behavior, just with the
error attached.

In a way, the point of the error is to seal off an unruly possibility.
That enables 'until' and 'until LOCATION' to be simple and consistent:
they would always stop in either the current frame or the return-breakpoint.

It's up to you to decide, I just needed to voice my proposal.

I will calm down now.  :)

Michael C


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