This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 1/4] Explicit locations
- 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, 22 Mar 2013 11:44:49 +0200
- Subject: Re: [RFA 1/4] Explicit locations
- References: <514B9E8F dot 6080306 at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 21 Mar 2013 16:58:07 -0700
> From: Keith Seitz <keiths@redhat.com>
>
> o Explicit locations are of the form "-source FILENAME -line LINE
> -function FUNC -label LABEL" (for the CLI; similar for MI). If the user
> specifies -func FOO and he really meant -label FOO, the location decoder
> (nee decode_line_*) will error. [Contrast this with the linespec parser,
> where this might succeed or find an actual function called FOO.]
Thanks.
I'm a completion junkie, and it looks like the new location type does
not offer any completion for -source, -label, and -function parts of
this spec. If this is true, how about adding that? (If this is
false, and I missed something, apologies.)