OSDN Git Service

Do not load .eh_frame section from separete object files
authorbrobecke <brobecke>
Mon, 4 Jul 2011 16:30:05 +0000 (16:30 +0000)
committerbrobecke <brobecke>
Mon, 4 Jul 2011 16:30:05 +0000 (16:30 +0000)
commit9e96c8ead9a000eed3e57fe97f877dc5592b0221
treed67005b18e79d5db6db28f30e2652784b6444036
parenteff57e2f49bb793ead1c679ec99985c10523d628
Do not load .eh_frame section from separete object files

We don't need to read the .eh_frame section from the separate
object files, because this data is already present in the
main executable (it needs to, or the program wouldn't work).

We discovered this investigating a problem with the 'next' command,
which was due to unwind failures, which came from the fact that
the .eh_frame was incorrectly relocated.

gdb/ChangeLog (Tristan Gingold):

    * dwarf2-frame.c (dwarf2_build_frame_info): Do not load .eh_frame
    section in separate object files.
gdb/ChangeLog
gdb/dwarf2-frame.c