This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313)


On Wed, 24 Nov 2010 21:00:47 +0100, Tom Tromey wrote:
> Actually I was specifically thinking of just the separate debuginfo case.
> In this case wouldn't the primary objfile always have the minsyms?

/usr/lib/rpm/find-debuginfo.sh
# The -g flag says to use strip -g instead of full strip on DSOs.
strip:
  -g -S -d --strip-debug           Remove all debugging symbols & sections
eu-strip:
  -g, -d, -S, --strip-debug  Remove all debugging symbols
glibc.spec:
	find_debuginfo_args='--strict-build-id -g'

Whether .symtab (=ELF symbols=minimal symbols) is present in the primary
objfile or the separate debug info objfile depends on this switch.

For almost all the Fedora packages .symtab is in the separate debug info file.
glibc (not sure if anything else) has an exception it has .symtab still in the
primary binary file.  (I do not agree much with such exception myself.)


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]