aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8500-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-26 11:13:01 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-26 11:13:01 +0000
commit679ce7310245be5d095510574825f4616f6075d8 (patch)
treeb95c57e35f9181090765291a2fa107a8f4472406 /gdb/h8500-tdep.c
parent07137a112dc3cdf1ceafe58c3c0cdcb79ee5f3d7 (diff)
downloadgdb-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.c32
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;