diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-08-19 14:24:56 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-08-19 14:24:56 +0000 |
commit | bf0729999558578f7f7e011b47c93a325b91ebf8 (patch) | |
tree | 20422c978d3baac308a1172a0279dd0a76b8deb4 /gdb/config/mips | |
parent | 242f28010b35a65458caabe489b1c80d6b9679ce (diff) | |
download | gdb-bf0729999558578f7f7e011b47c93a325b91ebf8.zip gdb-bf0729999558578f7f7e011b47c93a325b91ebf8.tar.gz gdb-bf0729999558578f7f7e011b47c93a325b91ebf8.tar.bz2 |
* config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Define
conditionally.
(JB_PC, JB_ELEMENT_SIZE): Rename to MIPS_LINUX_JB_PC and
MIPS_LINUX_JB_ELEMENT_SIZE.
* mips-linux-tdep.c (supply_gregset, fill_gregset): Use alloca
for MAX_REGISTER_RAW_SIZE arrays.
(mips_linux_get_longjmp_target): Use MIPS_LINUX_JB_PC and
MIPS_LINUX_JB_ELEMENT_SIZE.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/tm-linux.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h index 4236ea8..68233c0 100644 --- a/gdb/config/mips/tm-linux.h +++ b/gdb/config/mips/tm-linux.h @@ -33,8 +33,10 @@ /* GNU/Linux MIPS has __SIGRTMAX == 127. */ +#ifndef REALTIME_LO #define REALTIME_LO 32 #define REALTIME_HI 128 +#endif #include "config/tm-linux.h" @@ -51,8 +53,8 @@ extern struct link_map_offsets *mips_linux_svr4_fetch_link_map_offsets (void); /* Details about jmp_buf. */ -#define JB_ELEMENT_SIZE 4 -#define JB_PC 0 +#define MIPS_LINUX_JB_ELEMENT_SIZE 4 +#define MIPS_LINUX_JB_PC 0 /* Figure out where the longjmp will land. Slurp the arguments out of the stack. We expect the first arg to be a pointer to the jmp_buf structure |