This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 7/9] Explicit locations v2 - CLI for explicit locations
- From: Matt Rice <ratmice at gmail dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Fri, 9 May 2014 17:25:21 -0700
- Subject: Re: [RFA 7/9] Explicit locations v2 - CLI for explicit locations
- Authentication-results: sourceware.org; auth=none
- References: <536BC707 dot 4030300 at redhat dot com> <CACTLOFpYDEv0T_QQgXgLRpXk9TnwYTyfZvvda1E+uAfZdYE_4A at mail dot gmail dot com> <536D0446 dot 9060500 at redhat dot com>
On Fri, May 9, 2014 at 9:37 AM, Keith Seitz <keiths@redhat.com> wrote:
> On 05/08/2014 05:48 PM, Matt Rice wrote:
>
> The parser seems to already permit this syntax, but again, I'm sure there
> are latent bugs in there somewhere:
>
> (gdb) b -func foo('a)
> Function "foo('a)" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) n
>
> So, in the end, it certainly seems that we could whack this quoting stuff
> altogether if it was so desired. Other than the parallelism `argument' that
> I think I used to justify this to myself when I originally wrote it, there
> isn't really a compelling reason to keep it. At least, not that I know
> of/remember right now.
Thanks Keith,
I had somehow missed that it just skips the initial leading quotes,
so seems the more nefarious b -func foo('a * 'b) should work as well
that works for me.