This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: dwarf2-frame.c and sym_private
- From: Mark Kettenis <kettenis at chello dot nl>
- To: drow at mvista dot com
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 22 Jun 2003 23:23:59 +0200 (CEST)
- Subject: Re: dwarf2-frame.c and sym_private
- References: <20030622165235.GA30333@nevyn.them.org>
Date: Sun, 22 Jun 2003 12:52:35 -0400
From: Daniel Jacobowitz <drow@mvista.com>
The dwarf2-frame code blithely assumes that objfile->sym_private is
always an FDE description. But nothing stops the file from having
non-DWARF-2 debugging information, or no debugging information at
all... would you mind if I switched it to use a new dwarf2-specific
member of the objfile structure instead?
I wouldn't mind, although I'm not sure whether adding debug
format-specific members to the objfile structure is the right
approach. Assuming that an object file won't contain unwind info in
different formats, would adding a member for unwind info to the
objfile structure be an option.
Mark