regression: gdb.objc/basicclass.exp

Jan Kratochvil jan.kratochvil@redhat.com
Thu Jun 2 09:30:00 GMT 2011


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



More information about the Gdb-patches mailing list