aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-02-07 20:45:40 +0000
committerMark Kettenis <kettenis@gnu.org>2004-02-07 20:45:40 +0000
commit1c80067325ac5c90f84154900ac057780b7869af (patch)
tree31493e2c0cf2c040cb2283009f75c4244f307e04 /gdb/sparc-tdep.h
parent7d34766b6a1e38232506b9c6ebfa647e70c22463 (diff)
downloadgdb-1c80067325ac5c90f84154900ac057780b7869af.zip
gdb-1c80067325ac5c90f84154900ac057780b7869af.tar.gz
gdb-1c80067325ac5c90f84154900ac057780b7869af.tar.bz2
* sparc-tdep.h (sparc_fetch_wcookie): New prototype.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle StackGhost.
Diffstat (limited to 'gdb/sparc-tdep.h')
-rw-r--r--gdb/sparc-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h
index 00c4136..bbfbb42 100644
--- a/gdb/sparc-tdep.h
+++ b/gdb/sparc-tdep.h
@@ -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);