summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-10-11 22:50:07 +0000
committerPedro Alves <pedro@codesourcery.com>2009-10-11 22:50:07 +0000
commitfe30e64f19bfcab186896e772f0d7e8668e80340 (patch)
tree3a1e4b5ed35453c198f2aca585a96736b715774f /gdb
parent596ed462b9501d7dff8954411e95650f398e9556 (diff)
downloadgdb-fe30e64f19bfcab186896e772f0d7e8668e80340.tar.gz
* procfs.c (procfs_make_note_section): Go back to only outputing
an NT_PSTATUS note when UNIXWARE is defined.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/procfs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5f16e96ad0d..7e3f17b81bf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/procfs.c b/gdb/procfs.c
index b2868bcc341..d43031bed12 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -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),