forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user