From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Molenda To: gdb-patches@sources.redhat.com Subject: Patch to fix incorrect ChangeLog entry Date: Wed, 05 Sep 2001 00:11:00 -0000 Message-id: <20010905001108.A16486@shell17.ba.best.com> X-SW-Source: 2001-09/msg00007.html Please check this in - this typeo is frustrating if you're trying to trace the history of lookup_block_symbol. There is no such function as block_lookup_symbol. By the way, why isn't this patch in the sources? http://sources.redhat.com/ml/gdb-patches/2000-q1/msg00022.html This is Tom Tromey's patch to add a "maint profile-gdb" command and an --enable-profile to configure switch enable it. It's invaluable if you're trying to look into performance problems - you enable profiling for the handful of gdb commands you care about, then turn it off right away. It helps keep the noise level low so you can easily spot your problem. I found the source of my prolem (guess which func :-) a minute after I had a gdb compiled with his patch. I would be happy to update the patch to the current sources and repost it. I'll probably do that even if I hear nothing from anyone here. :-) I applied it against the Apple gdb sources and the only tricky bit was the patch to gdbint.texinfo, which applied incorrectly without it being obvious that it failed. Index: ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/ChangeLog,v retrieving revision 1.1587 diff -u -p -r1.1587 ChangeLog --- ChangeLog 2001/09/05 02:54:15 1.1587 +++ ChangeLog 2001/09/05 07:03:30 @@ -6528,7 +6528,7 @@ Tue Jan 30 15:14:26 2001 Andrew Cagney 2001-01-29 Michael Chastain - * symtab.c (block_lookup_symbol): Use 'namespace' parameter in + * symtab.c (lookup_block_symbol): Use 'namespace' parameter in symbol comparisons in binary search. 2001-01-27 Christopher Faylor