Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Paul Pluzhnikov <ppluzhnikov@google.com>,
	 Daniel Gutson <dgutson@codesourcery.com>
Subject: Re: Put a NT_PSTATUS note on solaris cores.
Date: Sun, 11 Oct 2009 22:53:00 -0000	[thread overview]
Message-ID: <200910112353.21470.pedro@codesourcery.com> (raw)
In-Reply-To: <200910112310.26463.pedro@codesourcery.com>

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),


      parent reply	other threads:[~2009-10-11 22:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-09  1:36 Pedro Alves
2009-10-11 21:21 ` Paul Pluzhnikov
2009-10-11 22:10   ` Pedro Alves
2009-10-11 22:35     ` Paul Pluzhnikov
2009-10-11 22:40       ` Pedro Alves
2009-10-11 23:21         ` Paul Pluzhnikov
2009-10-31 16:34           ` Paul Pluzhnikov
2009-10-31 21:00             ` Pedro Alves
2009-10-31 23:26               ` Paul Pluzhnikov
2009-10-11 22:53     ` Pedro Alves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200910112353.21470.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=dgutson@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ppluzhnikov@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox