summaryrefslogtreecommitdiff
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
commit9e1ce8e0ff2bb94ac29a8b822823524d9c3b00bb (patch)
treef41550be723f382f358b8cc1f5219c12eea29d7c /gdb/mips-linux-tdep.c
parent4858ddf7015805d8e50569f3e676f34db787cd0f (diff)
downloadgdb-9e1ce8e0ff2bb94ac29a8b822823524d9c3b00bb.tar.gz
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 dce507f410e..81d3e1e6453 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);