From 4c490650431f854ef3559d0d5a01e0ebfda8226c Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sat, 9 Jan 2010 04:32:52 +0000 Subject: [PATCH] * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. --- gdb/ChangeLog | 5 +++++ gdb/procfs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 254d1846ed8..73a01f58f1c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-01-09 Joel Brobecker + + Fix build failure on sparc-solaris. + * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. + 2010-01-08 Jan Kratochvil Move some symfile code into subroutines. diff --git a/gdb/procfs.c b/gdb/procfs.c index 286e81c4588..e5df8866d22 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, -- 2.30.2