diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-26 11:13:01 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-26 11:13:01 +0000 |
commit | 679ce7310245be5d095510574825f4616f6075d8 (patch) | |
tree | b95c57e35f9181090765291a2fa107a8f4472406 /gdb/h8500-tdep.c | |
parent | 07137a112dc3cdf1ceafe58c3c0cdcb79ee5f3d7 (diff) | |
download | gdb-679ce7310245be5d095510574825f4616f6075d8.zip gdb-679ce7310245be5d095510574825f4616f6075d8.tar.gz gdb-679ce7310245be5d095510574825f4616f6075d8.tar.bz2 |
CARP: Delete ABOUT_TO_RETURN across all targets.
Diffstat (limited to 'gdb/h8500-tdep.c')
-rw-r--r-- | gdb/h8500-tdep.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/gdb/h8500-tdep.c b/gdb/h8500-tdep.c index 38a4859..e66bcc3 100644 --- a/gdb/h8500-tdep.c +++ b/gdb/h8500-tdep.c @@ -395,38 +395,6 @@ saved_pc_after_call () return x; } -#if 0 /* never called */ -/* Nonzero if instruction at PC is a return instruction. */ - -int -about_to_return (pc) - CORE_ADDR pc; -{ - int b1 = read_memory_integer (pc, 1); - - switch (b1) - { - case 0x14: /* rtd #8 */ - case 0x1c: /* rtd #16 */ - case 0x19: /* rts */ - case 0x1a: /* rte */ - return 1; - case 0x11: - { - int b2 = read_memory_integer (pc + 1, 1); - switch (b2) - { - case 0x18: /* prts */ - case 0x14: /* prtd #8 */ - case 0x16: /* prtd #16 */ - return 1; - } - } - } - return 0; -} -#endif - void h8500_set_pointer_size (newsize) int newsize; |