From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7980 invoked by alias); 11 Oct 2009 22:53:11 -0000 Received: (qmail 7890 invoked by uid 22791); 11 Oct 2009 22:53:10 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 11 Oct 2009 22:53:05 +0000 Received: (qmail 6088 invoked from network); 11 Oct 2009 22:53:03 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Oct 2009 22:53:03 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: Put a NT_PSTATUS note on solaris cores. Date: Sun, 11 Oct 2009 22:53:00 -0000 User-Agent: KMail/1.9.10 Cc: Paul Pluzhnikov , Daniel Gutson References: <200910090236.10584.pedro@codesourcery.com> <8ac60eac0910111421p6afbfbe9ha4544bddc75943ab@mail.gmail.com> <200910112310.26463.pedro@codesourcery.com> In-Reply-To: <200910112310.26463.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910112353.21470.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00217.txt.bz2 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 * 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),