aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-26 14:13:24 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-26 14:13:24 +0000
commit0d0266c631018f5eecc0486d1d83fdeffe08faac (patch)
tree12cdcc79d32a8345915e1264f644d558a216d418 /gdb/mips-linux-tdep.c
parent3e3b46e5c8d9d578ea136983b5dd1de82dbff86b (diff)
downloadgdb-0d0266c631018f5eecc0486d1d83fdeffe08faac.zip
gdb-0d0266c631018f5eecc0486d1d83fdeffe08faac.tar.gz
gdb-0d0266c631018f5eecc0486d1d83fdeffe08faac.tar.bz2
2004-10-26 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (mips_software_single_step): Move to here ... * config/mips/tm-mips.h: ... from here. * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) (SOFTWARE_SINGLE_STEP): Delete. * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r--gdb/mips-linux-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index dce507f..81d3e1e 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -1167,6 +1167,8 @@ mips_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_skip_solib_resolver (gdbarch, mips_linux_skip_resolver);
+ set_gdbarch_software_single_step (gdbarch, mips_software_single_step);
+
/* This overrides the MIPS16 stub support from mips-tdep. But no
one uses MIPS16 on GNU/Linux yet, so this isn't much of a loss. */
set_gdbarch_in_solib_call_trampoline (gdbarch, mips_linux_in_dynsym_stub);