mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
SIGTRAMP_END. * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END): Define with dummy pc arg. * config/m68k/tm-nbsd.h: Ditto. * doc/gdbint.texinfo: Document that SIGTRAMP_START and SIGTRAMP_END are macros that take an single argument.
This commit is contained in:
@ -50,8 +50,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
/* On 386 bsd, sigtramp is above the user stack and immediately below
|
||||
the user area. Using constants here allows for cross debugging.
|
||||
These are tested for BSDI but should work on 386BSD. */
|
||||
#define SIGTRAMP_START 0xfdbfdfc0
|
||||
#define SIGTRAMP_END 0xfdbfe000
|
||||
#define SIGTRAMP_START(pc) 0xfdbfdfc0
|
||||
#define SIGTRAMP_END(pc) 0xfdbfe000
|
||||
|
||||
/* Saved Pc. Get it from sigcontext if within sigtramp. */
|
||||
|
||||
|
@ -32,8 +32,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
#define STACK_END_ADDR USRSTACK
|
||||
|
||||
/* For NetBSD, sigtramp is 32 bytes before STACK_END_ADDR. */
|
||||
#define SIGTRAMP_START (STACK_END_ADDR - 32)
|
||||
#define SIGTRAMP_END (STACK_END_ADDR)
|
||||
#define SIGTRAMP_START(pc) (STACK_END_ADDR - 32)
|
||||
#define SIGTRAMP_END(pc) (STACK_END_ADDR)
|
||||
|
||||
#include "m68k/tm-m68k.h"
|
||||
#include "tm-nbsd.h"
|
||||
|
Reference in New Issue
Block a user