aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-04-24 06:32:59 +0000
committerStu Grossman <grossman@cygnus>1992-04-24 06:32:59 +0000
commit66a8a9b4d20eb764077fb7d2666b7bb2239fe868 (patch)
tree130d5d9672222e715e83ed20d15f759a07d0bb62 /gdb
parent9f756cd8d2ef0bbf4cdc1aa2f46ed6dc13806ca1 (diff)
downloadgdb-66a8a9b4d20eb764077fb7d2666b7bb2239fe868.zip
gdb-66a8a9b4d20eb764077fb7d2666b7bb2239fe868.tar.gz
gdb-66a8a9b4d20eb764077fb7d2666b7bb2239fe868.tar.bz2
* tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice
breakpoint instructions that leave PC pointing at the right place.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/tm-29k.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 57796e2..2d81416 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Thu Apr 23 18:43:17 1992 Fred Fish (fnf@cygnus.com)
+ * tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice
+ breakpoint instructions that leave PC pointing at the right place.
+
* core.c (core_open): Call warning() to print warnings.
Wed Apr 22 09:55:42 1992 Stu Grossman (grossman at cygnus.com)
diff --git a/gdb/tm-29k.h b/gdb/tm-29k.h
index 73d9638..2718061 100644
--- a/gdb/tm-29k.h
+++ b/gdb/tm-29k.h
@@ -91,7 +91,7 @@ CORE_ADDR skip_prologue ();
This is often the number of bytes in BREAKPOINT
but not always. */
-#define DECR_PC_AFTER_BREAK 4
+#define DECR_PC_AFTER_BREAK 0
/* Nonzero if instruction at PC is a return instruction.
On the 29k, this is a "jmpi l0" instruction. */