aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-01-22 08:42:14 +0000
committerStu Grossman <grossman@cygnus>1994-01-22 08:42:14 +0000
commit8bf94f44bc8109f7aa3a4272ba6b4ba36d5fb618 (patch)
tree5d10d81cb709c41c0ccf505098dfecf6d1e8bb95 /gdb/sparc-tdep.c
parenteae821453c15f5990eecdaae1f16642baa0c11fb (diff)
downloadgdb-8bf94f44bc8109f7aa3a4272ba6b4ba36d5fb618.zip
gdb-8bf94f44bc8109f7aa3a4272ba6b4ba36d5fb618.tar.gz
gdb-8bf94f44bc8109f7aa3a4272ba6b4ba36d5fb618.tar.bz2
* sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h,
config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to tm-sparc.h so they can be overridden if necessary.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index dc7b191..da7fd2c 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -131,9 +131,6 @@ single_step (ignore)
}
}
-#define FRAME_SAVED_L0 0 /* Byte offset from SP */
-#define FRAME_SAVED_I0 (8 * REGISTER_RAW_SIZE (0)) /* Byte offset from SP */
-
CORE_ADDR
sparc_frame_chain (thisframe)
FRAME thisframe;
@@ -161,7 +158,7 @@ sparc_extract_struct_value_address (regbuf)
/* Find the pc saved in frame FRAME. */
CORE_ADDR
-frame_saved_pc (frame)
+sparc_frame_saved_pc (frame)
FRAME frame;
{
char buf[MAX_REGISTER_RAW_SIZE];