diff options
author | Geoffrey Noer <noer@cygnus> | 1997-01-22 01:33:58 +0000 |
---|---|---|
committer | Geoffrey Noer <noer@cygnus> | 1997-01-22 01:33:58 +0000 |
commit | 95efddf268da4a4559d064ff02af6490afdb493f (patch) | |
tree | cdeb8d3155504e352b680080577045ddbfd6d53d /gdb/config | |
parent | ef6c51d13f72af67879d19ded1c1314c01d27a95 (diff) | |
download | gdb-95efddf268da4a4559d064ff02af6490afdb493f.zip gdb-95efddf268da4a4559d064ff02af6490afdb493f.tar.gz gdb-95efddf268da4a4559d064ff02af6490afdb493f.tar.bz2 |
Tue Jan 21 17:03:26 1997 Geoffrey Noer <noer@cygnus.com>
* mn10300-tdep.c: wrote/fixed implementations of
mn10300_frame_chain, mn10300_init_extra_frame_info,
mn10300_frame_saved_pc
* config/mn10300/tm-mn10300.h: redefine INIT_EXTRA_FRAME_INFO
and INIT_FRAME_PC macros
Backtracing starting to work correctly.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mn10300/tm-mn10300.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index b14508d..65203af 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -21,13 +21,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN -#define REGISTER_BYTES (NUM_REGS * 4) - #define REGISTER_SIZE 4 #define MAX_REGISTER_RAW_SIZE 4 - #define NUM_REGS 14 +#define REGISTER_BYTES (NUM_REGS * REGISTER_SIZE) + #define REGISTER_NAMES \ { "d0", "d1", "d2", "d3", "a0", "a1", "a2", "a3", \ "sp", "pc", "mdr", "psw", "lir", "lar" } @@ -69,6 +68,10 @@ struct value; #define EXTRA_FRAME_INFO struct frame_saved_regs fsr; +extern void mn10300_init_extra_frame_info PARAMS ((struct frame_info *fi)); +#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) mn10300_init_extra_frame_info (fi) +#define INIT_FRAME_PC /* Not necessary */ + extern void mn10300_frame_find_saved_regs PARAMS ((struct frame_info *fi, struct frame_saved_regs *regaddr)); #define FRAME_FIND_SAVED_REGS(fi, regaddr) regaddr = fi->fsr |