OSDN Git Service

* symfile.c (section_is_mapped): Use objfile architecture instead
authoruweigand <uweigand>
Wed, 17 Jun 2009 18:34:34 +0000 (18:34 +0000)
committeruweigand <uweigand>
Wed, 17 Jun 2009 18:34:34 +0000 (18:34 +0000)
commitb8892914eb238fab07daf0ea88042afe6fb3bd25
tree8b145892387b5baa723c214f13ce7baa05cc5ca4
parent40785775030d68b84fa551050b5bc6a3fb2a13d4
* symfile.c (section_is_mapped): Use objfile architecture instead
of current_gdbarch.
(TARGET_LONG_BYTES): Remove.
(read_target_long_array): Add SIZE argument.  Use it instead of
TARGET_LONG_BYTES.
(simple_read_overlay_table): Retrieve long size from objfile
architecture; pass it to read_target_long_array.
(simple_read_overlay_region_table): Likewise.
(simple_overlay_update_1): Likewise.
gdb/ChangeLog
gdb/symfile.c