diff options
author | Stan Shebs <shebs@apple.com> | 1999-05-05 14:45:51 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-05-05 14:45:51 +0000 |
commit | 049f10d7dc48a42b664a15149f83d5c3db004ef7 (patch) | |
tree | 8dd4e1a383afddd41a30a65adf68142dfd45ec72 /gdb/config/ns32k | |
parent | 1942e83ab587eb3c0c54e57e9d1c9e11c17ac07e (diff) | |
download | gdb-049f10d7dc48a42b664a15149f83d5c3db004ef7.tar.gz |
import gdb-19990504 snapshot
Diffstat (limited to 'gdb/config/ns32k')
-rw-r--r-- | gdb/config/ns32k/tm-merlin.h | 10 | ||||
-rw-r--r-- | gdb/config/ns32k/tm-umax.h | 10 |
2 files changed, 4 insertions, 16 deletions
diff --git a/gdb/config/ns32k/tm-merlin.h b/gdb/config/ns32k/tm-merlin.h index f90c5e79778..d5864307162 100644 --- a/gdb/config/ns32k/tm-merlin.h +++ b/gdb/config/ns32k/tm-merlin.h @@ -27,14 +27,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Advance PC across any function entry prologue instructions to reach some "real" code. */ -#define SKIP_PROLOGUE(pc) \ -{ register int op = read_memory_integer (pc, 1); \ - if (op == 0x82) \ - { op = read_memory_integer (pc+2,1); \ - if ((op & 0x80) == 0) pc += 3; \ - else if ((op & 0xc0) == 0x80) pc += 4; \ - else pc += 6; \ - }} +extern CORE_ADDR merlin_skip_prologue PARAMS ((CORE_ADDR)); +#define SKIP_PROLOGUE(pc) (merlin_skip_prologue (pc)) /* Immediately after a function call, return the saved pc. Can't always go through the frames for this because on some machines diff --git a/gdb/config/ns32k/tm-umax.h b/gdb/config/ns32k/tm-umax.h index 1fdfb2fccd0..925a3e97b24 100644 --- a/gdb/config/ns32k/tm-umax.h +++ b/gdb/config/ns32k/tm-umax.h @@ -33,14 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Advance PC across any function entry prologue instructions to reach some "real" code. */ -#define SKIP_PROLOGUE(pc) \ -{ register unsigned char op = read_memory_integer (pc, 1); \ - if (op == 0x82) { op = read_memory_integer (pc+2,1); \ - if ((op & 0x80) == 0) pc += 3; \ - else if ((op & 0xc0) == 0x80) pc += 4; \ - else pc += 6; \ - } \ -} +extern CORE_ADDR umax_skip_prologue PARAMS ((CORE_ADDR)); +#define SKIP_PROLOGUE(pc) (umax_skip_prologue (pc)) /* Immediately after a function call, return the saved pc. Can't always go through the frames for this because on some machines |