This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 0/5] Explicit linespecs
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 27 Jul 2012 14:03:10 +0300
- Subject: Re: [RFA 0/5] Explicit linespecs
- References: <50120ECF.4020709@redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.