aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-09 04:32:52 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-09 04:32:52 +0000
commit4c490650431f854ef3559d0d5a01e0ebfda8226c (patch)
tree99f0d51b5e09e6f40a559a950fb893e3008203b7
parent2fb7225c842271c7a7e7fd947658a4f9350aaa0c (diff)
downloadgdb-4c490650431f854ef3559d0d5a01e0ebfda8226c.zip
gdb-4c490650431f854ef3559d0d5a01e0ebfda8226c.tar.gz
gdb-4c490650431f854ef3559d0d5a01e0ebfda8226c.tar.bz2
* procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
-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,