This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Put a NT_PSTATUS note on solaris cores.
On Sunday 11 October 2009 23:10:25, Pedro Alves wrote:
> Meeh. ?I guess I'll just revert this until the below is resolved,
> since I made GDB cope without this note.
Done. I didn't revert the bit that unbroke unixware's build.
--
Pedro Alves
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.
---
gdb/procfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: src/gdb/procfs.c
===================================================================
--- src.orig/gdb/procfs.c 2009-10-11 23:36:07.000000000 +0100
+++ src/gdb/procfs.c 2009-10-11 23:36:42.000000000 +0100
@@ -6153,7 +6153,7 @@ procfs_make_note_section (bfd *obfd, int
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),