* procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
authorJoel Brobecker <brobecker@gnat.com>
Sat, 9 Jan 2010 04:32:52 +0000 (04:32 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 9 Jan 2010 04:32:52 +0000 (04:32 +0000)
gdb/ChangeLog
gdb/procfs.c

index 254d1846ed80816128e7df7e00e110b4f454f5f4..73a01f58f1c30421dd62ee5ee9aa390c50ca72a3 100644 (file)
@@ -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.
 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Move some symfile code into subroutines.
index 286e81c4588040f06953c3a628474522cca9ba98..e5df8866d223762546c79ff3e3c68246d1e3fa0d 100644 (file)
@@ -6074,7 +6074,7 @@ procfs_do_thread_registers (bfd *obfd, ptid_t ptid,
   target_fetch_registers (regcache, -1);
 
   fill_gregset (regcache, &gregs, -1);
   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,
   note_data = (char *) elfcore_write_lwpstatus (obfd,
                                                note_data,
                                                note_size,
This page took 0.036488 seconds and 4 git commands to generate.