* sparc-tdep.h (sparc_fetch_wcookie): New prototype.

* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
StackGhost.
This commit is contained in:
Mark Kettenis
2004-02-07 20:45:40 +00:00
parent 7d34766b6a
commit 1c80067325
3 changed files with 21 additions and 0 deletions

View File

@@ -147,6 +147,9 @@ struct sparc_frame_cache
/* Fetch the instruction at PC. */
extern unsigned long sparc_fetch_instruction (CORE_ADDR pc);
/* Fetch StackGhost Per-Process XOR cookie. */
extern ULONGEST sparc_fetch_wcookie (void);
extern CORE_ADDR sparc_analyze_prologue (CORE_ADDR pc, CORE_ADDR current_pc,
struct sparc_frame_cache *cache);