* i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
sigcontext' offset consistency checks for ancient BSD.
This commit is contained in:
parent
3aa7b3b329
commit
bbe06c740e
2 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
2004-08-09 Mark Kettenis <kettenis@gnu.org>
|
2004-08-09 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
|
||||||
|
sigcontext' offset consistency checks for ancient BSD.
|
||||||
|
|
||||||
* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
|
* gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
|
||||||
|
|
||||||
* configure.in: Check for <sys/types.h>. Check return and
|
* configure.in: Check for <sys/types.h>. Check return and
|
||||||
|
|
|
@ -357,10 +357,10 @@ _initialize_i386bsd_nat (void)
|
||||||
#define SC_REG_OFFSET i386nbsd_sc_reg_offset
|
#define SC_REG_OFFSET i386nbsd_sc_reg_offset
|
||||||
#elif defined (OpenBSD)
|
#elif defined (OpenBSD)
|
||||||
#define SC_REG_OFFSET i386obsd_sc_reg_offset
|
#define SC_REG_OFFSET i386obsd_sc_reg_offset
|
||||||
#else
|
|
||||||
#define SC_REG_OFFSET i386bsd_sc_reg_offset
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SC_REG_OFFSET
|
||||||
|
|
||||||
/* We only check the program counter, stack pointer and frame
|
/* We only check the program counter, stack pointer and frame
|
||||||
pointer since these members of `struct sigcontext' are essential
|
pointer since these members of `struct sigcontext' are essential
|
||||||
for providing backtraces. More checks could be added, but would
|
for providing backtraces. More checks could be added, but would
|
||||||
|
@ -410,4 +410,6 @@ Please report this to <bug-gdb@gnu.org>.",
|
||||||
}
|
}
|
||||||
|
|
||||||
SC_FP_OFFSET = offset;
|
SC_FP_OFFSET = offset;
|
||||||
|
|
||||||
|
#endif /* SC_REG_OFFSET */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue