This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: regression: gdb.objc/basicclass.exp
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Paul Pluzhnikov <ppluzhnikov at google dot com>
- Date: Thu, 2 Jun 2011 11:29:46 +0200
- Subject: Re: regression: gdb.objc/basicclass.exp
- References: <4DD6B72D.3060706@redhat.com> <m3wrh6poxm.fsf@fleche.redhat.com> <4DE568A5.4000306@redhat.com> <20110601070737.GA29856@host1.jankratochvil.net> <4DE6BB98.5070901@redhat.com>
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