aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-05-12 01:02:58 +0000
committerAndrew Cagney <cagney@redhat.com>2002-05-12 01:02:58 +0000
commit451fbdda72c96478a54f21d5c8a3f14286a4084d (patch)
tree54de4bf9822298dc4e682cc501bb8e01a608edd5 /gdb/remote.c
parentb91d9153be074e41ebbbf179e27ddabf0cf6ae34 (diff)
downloadgdb-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/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index a773680..d447f38 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -256,7 +256,7 @@ static struct gdbarch_data *remote_gdbarch_data_handle;
static struct remote_state *
get_remote_state ()
{
- return gdbarch_data (remote_gdbarch_data_handle);
+ return gdbarch_data (current_gdbarch, remote_gdbarch_data_handle);
}
static void *