diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-07-25 14:46:12 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-07-25 14:46:12 +0000 |
commit | 636414911eb9a40e3874490f7a95247787476eea (patch) | |
tree | 5b695b63ff16a0a60be8b70e552bda78cf1e7855 /gdb/config/rs6000 | |
parent | 8b67f01dffbeecf4860c3a6eaf29f26e40ee2424 (diff) | |
download | gdb-636414911eb9a40e3874490f7a95247787476eea.zip gdb-636414911eb9a40e3874490f7a95247787476eea.tar.gz gdb-636414911eb9a40e3874490f7a95247787476eea.tar.bz2 |
Change aix_framedata -> rs6000_framedata
Diffstat (limited to 'gdb/config/rs6000')
-rw-r--r-- | gdb/config/rs6000/tm-rs6000.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h index c01e278..31a49ef 100644 --- a/gdb/config/rs6000/tm-rs6000.h +++ b/gdb/config/rs6000/tm-rs6000.h @@ -58,7 +58,7 @@ struct fp_status { /* To be used by function_frame_info. */ -struct aix_framedata { +struct rs6000_framedata { int offset; /* # of bytes in gpr's and fpr's are saved */ int saved_gpr; /* smallest # of saved gpr */ int saved_fpr; /* smallest # of saved fpr */ @@ -68,7 +68,7 @@ struct aix_framedata { }; void -function_frame_info PARAMS ((CORE_ADDR, struct aix_framedata *)); +function_frame_info PARAMS ((CORE_ADDR, struct rs6000_framedata *)); /* Define the byte order of the machine. */ @@ -152,6 +152,15 @@ function_frame_info PARAMS ((CORE_ADDR, struct aix_framedata *)); #define BIG_BREAKPOINT { 0x7d, 0x82, 0x10, 0x08 } #define LITTLE_BREAKPOINT { 0x08, 0x10, 0x82, 0x7d } +#if TARGET_BYTE_ORDER == BIG_ENDIAN +#define BREAKPOINT BIG_BREAKPOINT + +#else +#if TARGET_BYTE_ORDER == LITTLE_ENDIAN +#define BREAKPOINT LITTLE_BREAKPOINT +#endif +#endif + /* Amount PC must be decremented by after a breakpoint. This is often the number of bytes in BREAKPOINT but not always. */ @@ -460,7 +469,7 @@ CORE_ADDR rs6000_frame_chain PARAMS ((struct frame_info *)); { \ int ii; \ CORE_ADDR frame_addr, func_start; \ - struct aix_framedata fdata; \ + struct rs6000_framedata fdata; \ \ /* find the start of the function and collect info about its frame. */\ \ |