diff options
author | John Gilmore <gnu@cygnus> | 1992-10-16 10:47:34 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-10-16 10:47:34 +0000 |
commit | 2268d619462dfcaf7055aede6cde6f7015be29ba (patch) | |
tree | ce9959452b2add6e01740f5860fcc2f73f97cabe /gdb/tm-mips.h | |
parent | c3bbca3aad11d35978fbd96c6672eb4cbe6960f3 (diff) | |
download | gdb-2268d619462dfcaf7055aede6cde6f7015be29ba.zip gdb-2268d619462dfcaf7055aede6cde6f7015be29ba.tar.gz gdb-2268d619462dfcaf7055aede6cde6f7015be29ba.tar.bz2 |
Avoid longjmp()-catching compilation errors in cross-ports.
* doc/gdbint.texinfo: Update GET_LONGJMP_TARGET, L_SET doc.
* irix4-nat.c, mips-nat.c (JB_ELEMENT_SIZE, get_longjmp_target):
Move from mips-tdep.c and tm-{irix3,mips}.h.
* mips-nat.c: Remove a bunch of code that was ifdef'd out of
native MIPS ports.
* nm-irix3.h, nm-mips.h (GET_LONGJMP_TARGET): Move from tm-irix3.h
and tm-mips.h.
* ultra3-nat.c (register_addr): Move from ultra3-xdep.c.
(fetch_core_registers): Fix bfd_seek arguments.
Diffstat (limited to 'gdb/tm-mips.h')
-rw-r--r-- | gdb/tm-mips.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h index 6807fca..93a3aef 100644 --- a/gdb/tm-mips.h +++ b/gdb/tm-mips.h @@ -368,16 +368,3 @@ typedef struct mips_extra_func_info { #define FRAME_SPECIFICATION_DYADIC #define STAB_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32) - -/* Size of elements in jmpbuf */ - -#define JB_ELEMENT_SIZE 4 - -/* Figure out where the longjmp will land. We expect that we have just entered - longjmp and haven't yet setup the stack frame, so the args are still in the - argument regs. a0 (CALL_ARG0) points at the jmp_buf structure from which we - extract the pc (JB_PC) that we will land at. The pc is copied into ADDR. - This routine returns true on success */ - -/* Note that caller must #include <setjmp.h> in order to get def of JB_* */ -#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) |