aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/procfs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 254d184..73a01f5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-09 Joel Brobecker <brobecker@adacore.com>
+
+ Fix build failure on sparc-solaris.
+ * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
+
2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Move some symfile code into subroutines.
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 286e81c..e5df886 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -6074,7 +6074,7 @@ procfs_do_thread_registers (bfd *obfd, ptid_t ptid,
target_fetch_registers (regcache, -1);
fill_gregset (regcache, &gregs, -1);
-#if defined (UNIXWARE)
+#if defined (NEW_PROC_API)
note_data = (char *) elfcore_write_lwpstatus (obfd,
note_data,
note_size,