This is the mail archive of the gdb@sources.redhat.com 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]

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


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