This is the mail archive of the gdb-patches@sources.redhat.com 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: [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.
 


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