From: Pedro Alves Date: Sun, 11 Oct 2009 22:50:08 +0000 (+0000) Subject: * procfs.c (procfs_make_note_section): Go back to only outputing X-Git-Tag: sid-snapshot-20091101~252 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8903eff6818cce360bb31515d1e67bb61b98d225;p=thirdparty%2Fbinutils-gdb.git * procfs.c (procfs_make_note_section): Go back to only outputing an NT_PSTATUS note when UNIXWARE is defined. --- 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),