aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)