aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-10-11 22:50:08 +0000
committerPedro Alves <palves@redhat.com>2009-10-11 22:50:08 +0000
commit8903eff6818cce360bb31515d1e67bb61b98d225 (patch)
tree3fa793a0a39a80c29ea12eff4a14620c1edfe4af
parent9108f110eeaa2cbba22c8a2bda97593fec700656 (diff)
downloadgdb-8903eff6818cce360bb31515d1e67bb61b98d225.zip
gdb-8903eff6818cce360bb31515d1e67bb61b98d225.tar.gz
gdb-8903eff6818cce360bb31515d1e67bb61b98d225.tar.bz2
* procfs.c (procfs_make_note_section): Go back to only outputing
an NT_PSTATUS note when UNIXWARE is defined.
-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 5f16e96..7e3f17b 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 b2868bc..d43031b 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),