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 | 451fbdda72c96478a54f21d5c8a3f14286a4084d (patch) | |
tree | 54de4bf9822298dc4e682cc501bb8e01a608edd5 /gdb/gdbarch.c | |
parent | b91d9153be074e41ebbbf179e27ddabf0cf6ae34 (diff) | |
download | gdb-451fbdda72c96478a54f21d5c8a3f14286a4084d.zip gdb-451fbdda72c96478a54f21d5c8a3f14286a4084d.tar.gz gdb-451fbdda72c96478a54f21d5c8a3f14286a4084d.tar.bz2 |
* 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/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index b04ebd5..b8d680e 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -4803,10 +4803,10 @@ set_gdbarch_data (struct gdbarch *gdbarch, data-pointer. */ void * -gdbarch_data (struct gdbarch_data *data) +gdbarch_data (struct gdbarch *gdbarch, struct gdbarch_data *data) { - gdb_assert (data->index < current_gdbarch->nr_data); - return current_gdbarch->data[data->index]; + gdb_assert (data->index < gdbarch->nr_data); + return gdbarch->data[data->index]; } |