mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fixed sloppy definitions of SIGTRAMP_START and SIGTRAMP_END. The old
range was a little too large.
This commit is contained in:
parent
471f80601f
commit
82f143c642
2 changed files with 14 additions and 8 deletions
|
|
@ -61,10 +61,13 @@ extern CORE_ADDR fbsd_kern_frame_saved_pc (struct frame_info *);
|
|||
: read_memory_integer ((FRAME)->frame + 4, 4)) \
|
||||
))
|
||||
|
||||
/* Sigtramp is not the same address as BSD/OS.. */
|
||||
/* On FreeBSD, sigtramp has size 0x18 and is immediately below the
|
||||
ps_strings struct which has size 0x10 and is at the top of the
|
||||
user stack. */
|
||||
|
||||
#undef SIGTRAMP_START
|
||||
#undef SIGTRAMP_END
|
||||
#define SIGTRAMP_START 0xefbfdfc0
|
||||
#define SIGTRAMP_END 0xefbfe000
|
||||
#define SIGTRAMP_START 0xefbfdfd8
|
||||
#define SIGTRAMP_END 0xefbfdff0
|
||||
|
||||
#endif /* TM_FBSD_H */
|
||||
#endif /* ifndef TM_FBSD_H */
|
||||
|
|
|
|||
|
|
@ -61,10 +61,13 @@ extern CORE_ADDR fbsd_kern_frame_saved_pc (struct frame_info *);
|
|||
: read_memory_integer ((FRAME)->frame + 4, 4)) \
|
||||
))
|
||||
|
||||
/* Sigtramp is not the same address as BSD/OS.. */
|
||||
/* On FreeBSD, sigtramp has size 0x18 and is immediately below the
|
||||
ps_strings struct which has size 0x10 and is at the top of the
|
||||
user stack. */
|
||||
|
||||
#undef SIGTRAMP_START
|
||||
#undef SIGTRAMP_END
|
||||
#define SIGTRAMP_START 0xefbfdfc0
|
||||
#define SIGTRAMP_END 0xefbfe000
|
||||
#define SIGTRAMP_START 0xefbfdfd8
|
||||
#define SIGTRAMP_END 0xefbfdff0
|
||||
|
||||
#endif /* TM_FBSD_H */
|
||||
#endif /* ifndef TM_FBSD_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue