From 771c2b00365314bf4ed3536c9473cd033090e46c Mon Sep 17 00:00:00 2001 From: brobecke Date: Sat, 9 Jan 2010 04:32:51 +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 254d1846ed..73a01f58f1 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 286e81c458..e5df8866d2 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.11.0