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: regression: gdb.objc/basicclass.exp


On Thu, 02 Jun 2011 00:22:16 +0200, Keith Seitz wrote:
> This is all way more verbiage than the simple patch to fix it:
> increment the counter before shorting the loop.

since:
commit 1a9561ecd22cbc983e3c981630bcb8565aa8e095
2009-05-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
	* objc-lang.c (objc_objfile_data): New variable.
	(find_methods): Skip objfiles without Obj-C methods.
	(_initialize_objc_lang): New function.

I agree, please check it in.

The only file having objc methods on my box is
/usr/lib/debug/usr/lib64/libobjc.so.3.0.0.debug and parse_method does not fail
on any of its symbols so it does not even make the performance worse (on this
file).


Thanks,
Jan


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