aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
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),