OSDN Git Service

* procfs.c (procfs_make_note_section): Go back to only outputing
authorpalves <palves>
Sun, 11 Oct 2009 22:50:07 +0000 (22:50 +0000)
committerpalves <palves>
Sun, 11 Oct 2009 22:50:07 +0000 (22:50 +0000)
an NT_PSTATUS note when UNIXWARE is defined.

gdb/ChangeLog
gdb/procfs.c

index 5f16e96..7e3f17b 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * procfs.c (procfs_make_note_section): Go back to only outputing
+       an NT_PSTATUS note when UNIXWARE is defined.
+
 2009-10-11  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * features/xinclude.dtd: Correct EMPTY typo.
index b2868bc..d43031b 100644 (file)
@@ -6153,7 +6153,7 @@ procfs_make_note_section (bfd *obfd, int *note_size)
 
   stop_signal = find_stop_signal ();
 
-#ifdef NEW_PROC_API
+#ifdef UNIXWARE
   fill_gregset (get_current_regcache (), &gregs, -1);
   note_data = elfcore_write_pstatus (obfd, note_data, note_size,
                                     PIDGET (inferior_ptid),