Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* DSO with relocations and GDB.
@ 2008-04-20  2:39 Ananth Sowda
  2008-04-20  9:09 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Ananth Sowda @ 2008-04-20  2:39 UTC (permalink / raw)
  To: gdb

The powerpc eabi DSO (dynamic shared object) I'm debugging using GDB
6.6  has .debug_info and other debug tables which have unresolved
relocations. The .rela_debug_info is available in the DSO and it has
sh_link set to .symtab, sh_info to .debug_info.  However, the bfd code
in GDB 6.6 does not seem to associate the .debug_info with
corresponding .rela_debug.info section. When GDB attempts to relocate
these debug tables,  bfd does not recognize that the section has
relocations. This results in zero value for the offset for a symbol
from debug table and gets wrong address for a symbol lookup.
Any suggestions for solution to this problem? Is there a bfd function
which can be called from GDB to associate debug tables and their
relocation section counter parts?
Thanks


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-21 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-20  2:39 DSO with relocations and GDB Ananth Sowda
2008-04-20  9:09 ` Daniel Jacobowitz
2008-04-21 23:26   ` Ananth Sowda
2008-04-21 23:34     ` Daniel Jacobowitz
2008-04-22 20:09       ` Ananth Sowda
2008-04-23  7:28         ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox