diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-05-12 01:02:58 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-05-12 01:02:58 +0000 |
commit | 944ab9fb7a74fe8eb7909146bf3a0c9beb527540 (patch) | |
tree | dfac618d8bafeffd5176de0dd6bf339d3e25271c /gdb/solib-svr4.c | |
parent | 4b446cf8785d54231e819cafea27871b2681ca24 (diff) | |
download | gdb-944ab9fb7a74fe8eb7909146bf3a0c9beb527540.tar.gz |
* gdbarch.sh (gdbarch_data): Add gdbarch parameter.
* gdbarch.h, gdbarch.c: Regenerate.
* gnu-v3-abi.c: Update copyright.
(vtable_address_point_offset): Update.
(gnuv3_rtti_type): Update.
(gnuv3_baseclass_offset): Update.
* solib-svr4.c (svr4_fetch_link_map_offsets): Update.
(init_fetch_link_map_offsets): Update.
* remote.c (get_remote_state): Update.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 1a7ffbf4870..2d71097c091 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -1293,7 +1293,7 @@ static struct link_map_offsets * svr4_fetch_link_map_offsets (void) { struct link_map_offsets *(*flmo)(void) = - gdbarch_data (fetch_link_map_offsets_gdbarch_data); + gdbarch_data (current_gdbarch, fetch_link_map_offsets_gdbarch_data); if (flmo == NULL) { @@ -1330,7 +1330,7 @@ static void * init_fetch_link_map_offsets (struct gdbarch *gdbarch) { struct link_map_offsets *(*flmo) = - gdbarch_data (fetch_link_map_offsets_gdbarch_data); + gdbarch_data (gdbarch, fetch_link_map_offsets_gdbarch_data); if (flmo == NULL) return legacy_fetch_link_map_offsets; |