* symfile.c (section_is_mapped): Use objfile architecture instead
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:34:34 +0000 (18:34 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:34:34 +0000 (18:34 +0000)
commit9216df950648b5e483eaf33755d27e64a74ba90f
treebaa7abae909a5fa9bb4cad6dc5f7c729bfb4aa0a
parent9f5a595d690a517ab5cf8d59f7d6b09125594d52
* 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