aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-07-05 23:30:43 +0000
committerDaniel Jacobowitz <drow@false.org>2001-07-05 23:30:43 +0000
commit9022177cbdaf59a083c1fb3a6d5152fe308fd199 (patch)
treec73ae4aaf1dd22800b47816660b6faf028c89a5f /gdb/config/mips
parent2ac44c70305d4e09092a8276226e820cd31e489a (diff)
downloadgdb-9022177cbdaf59a083c1fb3a6d5152fe308fd199.zip
gdb-9022177cbdaf59a083c1fb3a6d5152fe308fd199.tar.gz
gdb-9022177cbdaf59a083c1fb3a6d5152fe308fd199.tar.bz2
* mips-tdep.c (mips_software_single_step): New function.
* config/mips/tm-mips.h: Add prototype for mips_software_single_step.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/tm-mips.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index a207950..a865e96 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -502,3 +502,6 @@ extern void mips_set_processor_type_command (char *, int);
/* MIPS sign extends addresses */
#define POINTER_TO_ADDRESS(TYPE,BUF) (signed_pointer_to_address (TYPE, BUF))
#define ADDRESS_TO_POINTER(TYPE,BUF,ADDR) (address_to_signed_pointer (TYPE, BUF, ADDR))
+
+/* Single step based on where the current instruction will take us. */
+extern void mips_software_single_step (enum target_signal, int);