This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/PATCH] breakpoint.c: fix until command
On Fri, Jan 03, 2003 at 01:52:07PM -0800, Michael Snyder wrote:
> > I'm still undecided about what to do if LOCATION is not in the
> > function. Maybe you're right and we should make this an error. What
> > if LOCATION is in the frame that called this one?
>
> My thoughts have run in similar grooves. ;-)
> The sticking point is "is <location> in the current function?"
> I believe we can answer that, by calling find_pc_partial_function.
> That will give us the function's address range, and we can then
> immediately determine whether <location> is in (use frame-relative bp),
> or out (don't do that).
I think we're making actual progress here.... I agree.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer