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 7/9] Explicit locations v2 - CLI for explicit locations


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.


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