diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-30 21:16:10 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-30 21:16:10 +0000 |
commit | cd65c8f61a794bcdb966abae80f2151d3f28b3c4 (patch) | |
tree | 160c8e49b23ff7cac1cf267138c3cf68dce69a0e /gdb/mips-tdep.c | |
parent | 95ac2dcfbb412c950079cd182299a7d572ed9f90 (diff) | |
download | gdb-cd65c8f61a794bcdb966abae80f2151d3f28b3c4.zip gdb-cd65c8f61a794bcdb966abae80f2151d3f28b3c4.tar.gz gdb-cd65c8f61a794bcdb966abae80f2151d3f28b3c4.tar.bz2 |
2004-10-30 Andrew Cagney <cagney@gnu.org>
* alpha-tdep.c (alpha_setup_arbitrary_frame): Delete.
* config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Delete.
(alpha_setup_arbitrary_frame): Delete.
* mips-tdep.c (setup_arbitrary_frame): Delete.
* config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Delete.
(setup_arbitrary_frame): Delete.
* stack.c (parse_frame_specification_1): When specified, call
create_new_frame with two parameters. Delete #ifdef
SETUP_ARBITRARY_FRAME.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 6df41d1..acdf125 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -2326,30 +2326,6 @@ struct mips_objfile_private char *contents; }; -/* MIPS stack frames are almost impenetrable. When execution stops, - we basically have to look at symbol information for the function - that we stopped in, which tells us *which* register (if any) is - the base of the frame pointer, and what offset from that register - the frame itself is at. - - This presents a problem when trying to examine a stack in memory - (that isn't executing at the moment), using the "frame" command. We - don't have a PC, nor do we have any registers except SP. - - This routine takes two arguments, SP and PC, and tries to make the - cached frames look as if these two arguments defined a frame on the - cache. This allows the rest of info frame to extract the important - arguments without difficulty. */ - -struct frame_info * -setup_arbitrary_frame (int argc, CORE_ADDR *argv) -{ - if (argc != 2) - error ("MIPS frame specifications require two arguments: sp and pc"); - - return create_new_frame (argv[0], argv[1]); -} - /* According to the current ABI, should the type be passed in a floating-point register (assuming that there is space)? When there is no FPU, FP are not even considered as possibile candidates for |