From 8903eff6818cce360bb31515d1e67bb61b98d225 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sun, 11 Oct 2009 22:50:08 +0000 Subject: * procfs.c (procfs_make_note_section): Go back to only outputing an NT_PSTATUS note when UNIXWARE is defined. --- gdb/procfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/procfs.c') 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), -- cgit v1.1