This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RE: [PATCH] Redefine skip_quoted
- From: "Adam Fedor" <fedor at doc dot com>
- To: "Klee Dienes" <klee at apple dot com>,"Jim Blandy" <jimb at redhat dot com>
- Cc: "Michael Snyder" <msnyder at redhat dot com>,<gdb-patches at sources dot redhat dot com>
- Date: Mon, 14 Oct 2002 19:17:08 -0400
- Subject: RE: [PATCH] Redefine skip_quoted
> From: Klee Dienes [mailto:klee@apple.com]
>
> In the Apple code, we use skip_quoted to allow for the possibility of
> spaces in Objective-C function names.
>
> I'm actually coming to think that allowing people to break on
> unquoted
> Objective-C methods was a mistake: it's caused us no end of trouble
> trying to shoehorn decode_line_1() into handling every possible
> edge-case. I'm not sure how practical it is for us to remove it at
> this point, though --- we'd have to do some research among our
> Objective-C developers to find out how important a feature it is to
> them, I think.
>
> Here's the appropriate diff from our linespec.c:
>
In the patch I made also, the only place this change is used is in decode_line_1. I must say that 99% of the problems I had getting Objective-C to work in gdb on multiple platforms was in this function. It's a nightmare, at least for Objective-C method names.