aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
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/mips
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/mips')
-rw-r--r--gdb/config/mips/tm-mips.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 5ca8fa4..e16a498 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -102,8 +102,9 @@ extern CORE_ADDR mips_skip_prologue PARAMS ((CORE_ADDR addr, int lenient));
/* Return non-zero if PC points to an instruction which will cause a step
to execute both the instruction at PC and an instruction at PC+4. */
-#define STEP_SKIPS_DELAY(pc) (mips_step_skips_delay (pc))
extern int mips_step_skips_delay PARAMS ((CORE_ADDR));
+#define STEP_SKIPS_DELAY_P (1)
+#define STEP_SKIPS_DELAY(pc) (mips_step_skips_delay (pc))
/* Immediately after a function call, return the saved pc.
Can't always go through the frames for this because on some machines