From 8903eff6818cce360bb31515d1e67bb61b98d225 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sun, 11 Oct 2009 22:50:08 +0000 Subject: [PATCH] * procfs.c (procfs_make_note_section): Go back to only outputing an NT_PSTATUS note when UNIXWARE is defined. --- gdb/ChangeLog | 5 +++++ gdb/procfs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * procfs.c (procfs_make_note_section): Go back to only outputing + an NT_PSTATUS note when UNIXWARE is defined. + 2009-10-11 Daniel Jacobowitz * 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), -- 2.30.2