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: [RFA 0/5] Explicit linespecs


> Date: Thu, 26 Jul 2012 20:45:19 -0700
> From: Keith Seitz <keiths@redhat.com>
> 
> For some time now, I've been toying with mi/13139, which is a feature 
> request for "explicit linespecs" -- linespecs which bypass the linespec 
> parser. This might provide some relief for very large applications where 
> linespec can get egregiously slow.
> 
> To cut to the chase, they may be used by either CLI or MI right now. 
> For the CLI, the generic syntax is:
> 
> -source XXX
> -function XXX
> -label XXX
> -offset XXX
> -address XXX

What exactly does the "offset" option do?  Is it a line offset, or is
it measured in other units?  If it's a line offset, then why not call
it "-line"?  If "offset" means it's a relative line offset, then what
is it relative to?

(I've read the documentation patch, but these questions don't seem to
be answered there, either.)

Also, the above doesn't seem to cover the magical '*function' location
spec.

Thanks.


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