aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-nat.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-03-22 20:36:34 +0000
committerRichard Henderson <rth@redhat.com>2012-03-22 20:36:34 +0000
commitb5453b9508188ab60c13ee1b9f13b1eb1a568d8e (patch)
treea208ef86310d12cc6ccd8e4946da228eef897977 /gdb/sparc-nat.c
parent227ee7fc71e305c761d26f0dfbc93c617bdc5556 (diff)
downloadgdb-b5453b9508188ab60c13ee1b9f13b1eb1a568d8e.zip
gdb-b5453b9508188ab60c13ee1b9f13b1eb1a568d8e.tar.gz
gdb-b5453b9508188ab60c13ee1b9f13b1eb1a568d8e.tar.bz2
* sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype.
* sparc-nat.c (sparc_xfer_wcookie): Make static.
Diffstat (limited to 'gdb/sparc-nat.c')
-rw-r--r--gdb/sparc-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index a80ee8e..cf36abd 100644
--- a/gdb/sparc-nat.c
+++ b/gdb/sparc-nat.c
@@ -255,7 +255,7 @@ sparc_store_inferior_registers (struct target_ops *ops,
/* Fetch StackGhost Per-Process XOR cookie. */
-LONGEST
+static LONGEST
sparc_xfer_wcookie (struct target_ops *ops, enum target_object object,
const char *annex, gdb_byte *readbuf,
const gdb_byte *writebuf, ULONGEST offset, LONGEST len)