diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-27 23:35:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-27 23:35:08 +0000 |
commit | 02331869322178ead208b8328caab67c5a77b6b3 (patch) | |
tree | 0e95f5333158653177ab82d4793d08af10c0d2ea /gdb/carp-tdep.c | |
parent | 5825dfc52513bdb91e298f7cf7642235644ee65a (diff) | |
download | gdb-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/carp-tdep.c')
-rw-r--r-- | gdb/carp-tdep.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/gdb/carp-tdep.c b/gdb/carp-tdep.c index 464aa50..9d7392d 100644 --- a/gdb/carp-tdep.c +++ b/gdb/carp-tdep.c @@ -599,18 +599,11 @@ int carp_need_text_start_end; #if 0 -@item NO_SINGLE_STEP -Define this if the target does not support single-stepping. If this is -defined, you must supply, in @code{*-tdep.c}, the function -@code{single_step}, which takes a target_signal as argument and returns -nothing. It must insert breakpoints at each possible destinations of -the next instruction. See @code{sparc-tdep.c} and @code{rs6000-tdep.c} -for examples. -#endif -int one_stepped; -void single_step (enum target_signal signal) { return; } -/* #define NO_SINGLE_STEP */ - +@item SOFTWARE_SINGLE_STEP_P +@ttem SOFTWARE_SINGLE_STEP +#endif +int carp_software_single_step_p; +void carp_software_single_step (int signal, int bp_p) { return; } #if 0 @item NUM_REGS |