aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-08-08 23:32:52 +0000
committerKevin Buettner <kevinb@redhat.com>2002-08-08 23:32:52 +0000
commitd28e01f4718314bf3ffb7e0d7132fd11cc4b3036 (patch)
treeb121f6c0a67f98ca9f3ca3ea78cf8a9a7ba75da2 /gdb/config/mips
parent7dc213a6bb642601e112cf9c3d7f113677270c07 (diff)
downloadgdb-d28e01f4718314bf3ffb7e0d7132fd11cc4b3036.zip
gdb-d28e01f4718314bf3ffb7e0d7132fd11cc4b3036.tar.gz
gdb-d28e01f4718314bf3ffb7e0d7132fd11cc4b3036.tar.bz2
* mips-tdep.c (mips_find_saved_regs): Make static.
(mips_frame_init_saved_regs): New function. (mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method. * config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro. (mips_find_saved_regs): Delete declaration.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/tm-mips.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index e7e5bd5..11aba84 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -304,19 +304,6 @@ extern int mips_frame_num_args (struct frame_info *);
#define FRAME_ARGS_SKIP 0
-/* Put here the code to store, into a struct frame_saved_regs,
- the addresses of the saved registers of frame described by FRAME_INFO.
- This includes special registers such as pc and fp saved in special
- ways in the stack frame. sp is even more special:
- the address we return for it IS the sp for the next frame. */
-
-#define FRAME_INIT_SAVED_REGS(frame_info) \
- do { \
- if ((frame_info)->saved_regs == NULL) \
- mips_find_saved_regs (frame_info); \
- (frame_info)->saved_regs[SP_REGNUM] = (frame_info)->frame; \
- } while (0)
-extern void mips_find_saved_regs (struct frame_info *);
/* Things needed for making the inferior call functions. */