From: Stu Grossman Date: Fri, 24 Apr 1992 06:32:59 +0000 (+0000) Subject: * tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66a8a9b4d20eb764077fb7d2666b7bb2239fe868;p=binutils-gdb.git * tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice breakpoint instructions that leave PC pointing at the right place. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57796e2dde0..2d814161fee 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 73d9638afec..2718061b8d3 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. */