diff options
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index d2c0c2c..aec54bf 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -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. */ |