* gdbarch.sh (target_gdbarch): New global variable.
[deliverable/binutils-gdb.git] / gdb / cris-tdep.c
index d2c0c2ca63ab5db7a009c53eb1f487a3b76cead1..aec54bf714240bb866cb4117df8752a1c9d7a40b 100644 (file)
@@ -498,7 +498,7 @@ crisv32_single_step_through_delay (struct gdbarch *gdbarch,
 int
 cris_can_use_hardware_watchpoint (int type, int count, int other)
 {
-  struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
+  struct gdbarch_tdep *tdep = gdbarch_tdep (target_gdbarch);
 
   /* No bookkeeping is done here; it is handled by the remote debug agent.  */
 
This page took 0.031548 seconds and 4 git commands to generate.