hi, there! On 6 Sep 2000, Randell Jesup wrote: > I (and some coworkers) are having problems with GDB under > 4.1-stable and shared libraries (particularily in Mozilla). Ever since > upgrading from 3.3 or 3.4-stable to 4.1-stable, GDB gives bogus line > numbers/addresses for references in shared libraries, doesn't show > arguments, can't display auto variables, etc. For functions in the > main executable, line numbers are right and arguments print. > > All the shared libraries were totally rebuilt after upgrading > (from scratch). > > Debug information seems to be present in the libraries as linked, > including line number info, but it's very hard to determine if it's > correct from the output of 'nm'. > > Any ideas? ld is broken. apply attached patch, rebuild everything in src/gnu/usr.bin/binutils and relink libraries. the patch is taken from binutils cvs (elf32-i386.c 1.8 -> 1.9) there is open PR for this (20373) but I cannot submit a followup for some reason. /fjoe To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
