aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sparc.h
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/config/sparc/tm-sparc.h
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/config/sparc/tm-sparc.h')
-rw-r--r--gdb/config/sparc/tm-sparc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 273a218..fc978f7 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -127,14 +127,6 @@ extern CORE_ADDR sparc_pc_adjust PARAMS ((CORE_ADDR));
#define DECR_PC_AFTER_BREAK 0
-/* Nonzero if instruction at PC is a return instruction. */
-/* For SPARC, this is either a "jmpl %o7+8,%g0" or "jmpl %i7+8,%g0".
-
- Note: this does not work for functions returning structures under SunOS.
- v9 does not have such critters though. */
-#define ABOUT_TO_RETURN(pc) \
- ((read_memory_integer (pc, 4)|0x00040000) == 0x81c7e008)
-
/* Say how long (ordinary) registers are. This is a piece of bogosity
used in push_word and a few other places; REGISTER_RAW_SIZE is the
real way to know how big a register is. */