aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/sparc-linux-nat.c2
-rw-r--r--gdb/sparc-nat.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fce6934..82fa1b4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2012-03-22 Richard Henderson <rth@redhat.com>
+ * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype.
+ * sparc-nat.c (sparc_xfer_wcookie): Make static.
+
+2012-03-22 Richard Henderson <rth@redhat.com>
+
* jit.c (jit_read_code_entry): Compute alignment and offset of
int64_t member before computing entry_size.
diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c
index b18ceed..d56a6bd 100644
--- a/gdb/sparc-linux-nat.c
+++ b/gdb/sparc-linux-nat.c
@@ -53,7 +53,7 @@ fill_fpregset (const struct regcache *regcache,
sparc32_collect_fpregset (regcache, regnum, fpregs);
}
-void _initialialize_sparc_linux_nat (void);
+void _initialize_sparc_linux_nat (void);
void
_initialize_sparc_linux_nat (void)
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)