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 22:37:15 +0100, Tom Tromey wrote:
> I think both files have .dynsym though.

I do not know any section would be present in both files (except .note.* like
.note.build-id and at least .shstrlab).  .dynsym is always needed in the
primary file so there is no need to have in in the .debug file:

/bin/bash
  [ 5] .dynsym           DYNSYM          0000000000403898 003898 00c588 18   A 28   1  8
/usr/lib/debug/bin/bash.debug|grep dynsym
  [ 5] .dynsym           NOBITS          0000000000403860 000248 00c588 18   A  6   1  8


> And AFAIK we end up with two
> copies of these minsyms.  One or the other seems unneeded.

There will be both .dynsym and .symtab where the first should be a subset of
the second; but GDB cannoy depend on the fact it should be a subset.


Regards,
Jan


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