From: Joel Brobecker Date: Sat, 9 Jan 2010 04:32:52 +0000 (+0000) Subject: * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. X-Git-Tag: sid-snapshot-20100201~295 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c490650431f854ef3559d0d5a01e0ebfda8226c;p=thirdparty%2Fbinutils-gdb.git * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. --- 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,