aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sparc.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-27 23:35:08 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-27 23:35:08 +0000
commit02331869322178ead208b8328caab67c5a77b6b3 (patch)
tree0e95f5333158653177ab82d4793d08af10c0d2ea /gdb/config/sparc/tm-sparc.h
parent5825dfc52513bdb91e298f7cf7642235644ee65a (diff)
downloadgdb-02331869322178ead208b8328caab67c5a77b6b3.zip
gdb-02331869322178ead208b8328caab67c5a77b6b3.tar.gz
gdb-02331869322178ead208b8328caab67c5a77b6b3.tar.bz2
CARP:
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing #ifdef's. NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P + SOFTWARE_SINGLE_STEP. Replace global variable one_stepped with static singlestep_breakpoints_inserted_p. Cleanup infrun.c (scary!).
Diffstat (limited to 'gdb/config/sparc/tm-sparc.h')
-rw-r--r--gdb/config/sparc/tm-sparc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index fc978f7..d5eb576 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -527,7 +527,9 @@ void sparc_fix_call_dummy PARAMS ((char *dummy, CORE_ADDR pc, CORE_ADDR fun,
/* Sparc has no reliable single step ptrace call */
-#define NO_SINGLE_STEP 1
+#define SOFTWARE_SINGLE_STEP_P 1
+extern void sparc_software_single_step PARAMS ((unsigned int, int));
+#define SOFTWARE_SINGLE_STEP(sig,bp_p) sparc_software_single_step (sig,bp_p)
/* We need more arguments in a frame specification for the
"frame" or "info frame" command. */