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


Michael Elizabeth Chastain wrote:
> 
> Hi Elena,
> 
> > See the thread from November on gdb@sources.
> 
> Gotcha.  Thanks.
> 
> > I think that using decode_line_1 may be the real problem, because that
> > allows all kind of arguments to be used, just like for a breakpoint.
> 
> I think the real problems are: (a) we haven't designed what should
> actually happen in all cases, and then (b) Daniel J says that some
> decision-making information is not reliable to get (when the user says
> 'until 70' gdb cannot reliably tell whether line 70 is in the current
> function).

Yes it can, unles code motion actually breaks functions into multiple
chunks.  find_pc_partial_function will return the function's bounding
addresses.


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