diff options
author | John Gilmore <gnu@cygnus> | 1993-02-02 02:08:19 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-02-02 02:08:19 +0000 |
commit | 07c2fa3e5320e644e386e270e461151d207a6310 (patch) | |
tree | 91a1aa79408c8cf7b1716bc8a52b1b49bea92b87 /gdb/tm-sparc.h | |
parent | 6edd74aef3d552b3498ec7fb3fc307c250e22cd9 (diff) | |
download | gdb-07c2fa3e5320e644e386e270e461151d207a6310.zip gdb-07c2fa3e5320e644e386e270e461151d207a6310.tar.gz gdb-07c2fa3e5320e644e386e270e461151d207a6310.tar.bz2 |
* stack.c (parse_frame_specification): Parse as many arguments
as there are (up to MAXARGS). Pass all of them in argc, argv
format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
many there were, onto SETUP_ARBITRARY_FRAME.
* tm-mips.h, tm-sparc.h: Corresponding changes.
* mips-tdep.c, sparc-tdep.c: Ditto.
Diffstat (limited to 'gdb/tm-sparc.h')
-rw-r--r-- | gdb/tm-sparc.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/tm-sparc.h b/gdb/tm-sparc.h index 25fc6d3..0e03965 100644 --- a/gdb/tm-sparc.h +++ b/gdb/tm-sparc.h @@ -1,6 +1,6 @@ /* Target machine sub-parameters for SPARC, for GDB, the GNU debugger. This is included by other tm-*.h files to define SPARC cpu-related info. - Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@mcc.com) This file is part of GDB. @@ -187,6 +187,8 @@ extern CORE_ADDR sparc_pc_adjust(); #define REGISTER_IN_WINDOW_P(regnum) \ ((regnum) >= 8 && (regnum) < 32) + + /* Number of bytes of storage in the actual machine representation for register N. */ @@ -546,11 +548,11 @@ arguments. */ #define NO_SINGLE_STEP 1 extern void single_step (); -/* We need two arguments (in general) to the "info frame" command. - Note that the definition of this macro implies that there exists a - function "setup_arbitrary_frame" in sparc-tdep.c */ +/* We need more arguments in a frame specification for the + "frame" or "info frame" command. */ -#define FRAME_SPECIFICATION_DYADIC +#define SETUP_ARBITRARY_FRAME(argc, argv) setup_arbitrary_frame (argc, argv) +extern FRAME setup_arbitrary_frame (); /* To print every pair of float registers as a double, we use this hook. */ |