This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
dwarf2-frame.c and sym_private
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com, kettenis at gnu dot org
- Date: Sun, 22 Jun 2003 12:52:35 -0400
- Subject: dwarf2-frame.c and sym_private
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?
This would also let me avoid a crash in David's new namespace code; he
creates an objfile which does not have its section offsets initialized,
and dwarf2_frame_find_fde aborts.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer