[RFA 0/5] Explicit linespecs

Eli Zaretskii eliz@gnu.org
Fri Jul 27 11:03:00 GMT 2012


> 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.



More information about the Gdb-patches mailing list