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: [RFC]: Better ObjC symbol skipping in decode_line_1


David Ayers writes:
 > Adam Fedor wrote:
 > 
 > >This patch fixes a problem with ObjC symbols not being properly skipped
 > >over during decode_line_1 processing. ObjC symbols can have spaces and
 > >parenthesis in them, so they need special handling, otherwise you get
 > >odd warnings like:
 > >
 > >Error in re-setting breakpoint 2:
 > >Function "-[NSObject(NEXTSTEP)" not defined.
 > >
 > >or
 > >
 > >Error in re-setting breakpoint 2:
 > >Function "" not defined.
 > >
 > >
 > >
 > >  
 > >
 > >------------------------------------------------------------------------
 > >
 > >2003-07-31  Adam Fedor  <fedor@gnu.org>
 > >
 > >	* gdb/linespec.c (is_objc_method_format): New function
 > >	(decode_line_1, locate_first_half): Use it.
 > >  
 > >
 > I know Adam has asked this before, but I'm unsure if there was a 
 > definite reply, so let me reiterate...
 > 
 > Can this patch go into 6.0? (Please... :-) )
 > 
 > It really makes ObjC support look much better on its debut, and as 
 > Michael Chastain already mentioned, it has been on mainline for quite 
 > some time now working beautifully.
 > 
 > Cheers,
 > David Ayers
 > 


I don't think it would do any harm on gdb-6. So it could go in, if
changes are still allowed.

elena


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