From 66a8a9b4d20eb764077fb7d2666b7bb2239fe868 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 24 Apr 1992 06:32:59 +0000 Subject: [PATCH] * tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice breakpoint instructions that leave PC pointing at the right place. --- gdb/ChangeLog | 3 +++ gdb/tm-29k.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57796e2dde..2d814161fe 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 73d9638afe..2718061b8d 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. */ -- 2.34.1