Linux MIPS Architecture development
 help / color / mirror / Atom feed
* tools for modifying dwarf symbols
@ 2002-09-12 22:30 Gerald Champagne
  0 siblings, 0 replies; only message in thread
From: Gerald Champagne @ 2002-09-12 22:30 UTC (permalink / raw)
  To: Linux Mips Mailing List

Is there a tool that will allow me to modify the path of filenames in
dwarf symbols in an elf file?  I've looked at everything in binutils,
but these tools only manipulate the binary portion of elf files.  I
don't see any similar tools for modifying dwarf debug symbols in an elf
file.

My problem is that my debugger can't read the source files when absolute
paths are used in filenames.  In my environment, I have to compile on
one system using one path to the files, then later I have to access the
same data from the debugger using a different path.  This works when the
filenames are embedded using relative paths.  Larger systems like the
linux kernel or the pmon boot loader use absolute path names everywhere
in the makefiles.  These absolute paths are embedded in the elf file and
my debugger gets confused.

Is there a tool or library that will simplify manipulating the dwarf
data in the elf files?

Thanks,

Gerald

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-12 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-12 22:30 tools for modifying dwarf symbols Gerald Champagne

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