This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: gcc/gdb/as/ld issue
- From: Andy Chittenden <achittenden at bluearc dot com>
- To: 'Nick Clifton' <nickc at redhat dot com>
- Cc: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Wed, 31 Mar 2004 10:36:56 +0100
- Subject: RE: gcc/gdb/as/ld issue
Nick
Thanks for taking the trouble to look at this. Unfortunately, as I later
point out in this thread, using the length's not good enough in our
environment as even the length was the same in some instances where the name
was different and so stabs were being removed erroneously causing gdb to go
bang. My latter patch solves that issue for us and doesn't seem to kill
performance (for us anyway). There is a missing free in that patch which was
making it use more memory than necessary though:
@@ -433,6 +464,9 @@
pass to change the type to N_EXCL. */
ne->type = (int) N_EXCL;
+ /* Free off superfluous symbols. */
+ free(symb);
+
/* Mark the skipped symbols. */
nest = 0;
--
Andy, BlueArc Engineering