* gdbarch.sh (gdbarch_data): Add gdbarch parameter.
[deliverable/binutils-gdb.git] / gdb / remote.c
index a7736800edf1b323a4a0a96394a9fdacbd0b07a3..d447f3804f845e437c044e039bcc079115233795 100644 (file)
@@ -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 *
This page took 0.026405 seconds and 4 git commands to generate.