From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2732 invoked by alias); 31 Oct 2009 23:26:33 -0000 Received: (qmail 2723 invoked by uid 22791); 31 Oct 2009 23:26:32 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 31 Oct 2009 23:26:28 +0000 Received: from wpaz5.hot.corp.google.com (wpaz5.hot.corp.google.com [172.24.198.69]) by smtp-out.google.com with ESMTP id n9VNQOGw023594 for ; Sat, 31 Oct 2009 23:26:25 GMT Received: from pzk5 (pzk5.prod.google.com [10.243.19.133]) by wpaz5.hot.corp.google.com with ESMTP id n9VNQLMB005349 for ; Sat, 31 Oct 2009 16:26:21 -0700 Received: by pzk5 with SMTP id 5so3096229pzk.18 for ; Sat, 31 Oct 2009 16:26:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.115.116.5 with SMTP id t5mr4031110wam.185.1257031581340; Sat, 31 Oct 2009 16:26:21 -0700 (PDT) In-Reply-To: <200910312101.09894.pedro@codesourcery.com> References: <200910090236.10584.pedro@codesourcery.com> <8ac60eac0910111621l3e303fb4j3dd3c38477341767@mail.gmail.com> <8ac60eac0910310934p6cfc9edbw2ede5ee48c80f40a@mail.gmail.com> <200910312101.09894.pedro@codesourcery.com> Date: Sat, 31 Oct 2009 23:26:00 -0000 Message-ID: <8ac60eac0910311626t1b11c8dxb7bf62e26279d51@mail.gmail.com> Subject: Re: Put a NT_PSTATUS note on solaris cores. From: Paul Pluzhnikov To: Pedro Alves Cc: gdb-patches@sourceware.org, Daniel Gutson Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true 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/msg00714.txt.bz2 On Sat, Oct 31, 2009 at 2:01 PM, Pedro Alves wrote: > How is it failing currently? It's actually the bfd part that doesn't build; sorry for confusion: make[3]: Entering directory `/export/home/paul/gdb-cvs/build/bfd' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -I../../src/bfd -I../../src/bfd/../include -I./../intl -DBINDIR='"/usr/local/bin"' -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O0 -MT elf.lo -MD -MP -MF .deps/elf.Tpo -c -o elf.lo ../../src/bfd/elf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -I../../src/bfd -I../../src/bfd/../include -I./../intl -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O0 -MT elf.lo -MD -MP -MF .deps/elf.Tpo -c ../../src/bfd/elf.c -o elf.o ../../src/bfd/elf.c:7624: error: syntax error before "elfcore_psinfo_t" ../../src/bfd/elf.c:7624: warning: type defaults to `int' in declaration of `elfcore_psinfo_t' ../../src/bfd/elf.c:7624: warning: data definition has no type or storage class ../../src/bfd/elf.c:7626: error: syntax error before "elfcore_psinfo32_t" ../../src/bfd/elf.c:7626: warning: type defaults to `int' in declaration of `elfcore_psinfo32_t' ../../src/bfd/elf.c:7626: warning: data definition has no type or storage class ../../src/bfd/elf.c: In function `elfcore_grok_psinfo': ../../src/bfd/elf.c:7662: error: syntax error before "psinfo" ../../src/bfd/elf.c:7664: error: `psinfo' undeclared (first use in this function) ../../src/bfd/elf.c:7664: error: (Each undeclared identifier is reported only once ../../src/bfd/elf.c:7664: error: for each function it appears in.) ../../src/bfd/elf.c:7678: error: syntax error before "psinfo" ../../src/bfd/elf.c: In function `elfcore_grok_pstatus': ../../src/bfd/elf.c:7719: error: `pstatus_t' undeclared (first use in this function) ../../src/bfd/elf.c:7725: error: syntax error before "pstat" ../../src/bfd/elf.c:7727: error: `pstat' undeclared (first use in this function) ../../src/bfd/elf.c:7732: error: `pstatus32_t' undeclared (first use in this function) ../../src/bfd/elf.c:7735: error: syntax error before "pstat" ../../src/bfd/elf.c: In function `elfcore_grok_lwpstatus': ../../src/bfd/elf.c:7754: error: `lwpstatus_t' undeclared (first use in this function) ../../src/bfd/elf.c:7754: error: syntax error before "lwpstat" ../../src/bfd/elf.c:7760: error: `lwpstat' undeclared (first use in this function) ../../src/bfd/elf.c:7793: error: syntax error before ')' token ../../src/bfd/elf.c: In function `elfcore_write_prpsinfo': ../../src/bfd/elf.c:8421: error: `psinfo32_t' undeclared (first use in this function) ../../src/bfd/elf.c:8421: error: syntax error before "data" ../../src/bfd/elf.c:8428: error: `data' undeclared (first use in this function) ../../src/bfd/elf.c:8438: error: `psinfo_t' undeclared (first use in this function) ../../src/bfd/elf.c:8438: error: syntax error before "data" ../../src/bfd/elf.c: In function `elfcore_write_lwpstatus': ../../src/bfd/elf.c:8512: error: `lwpstatus_t' undeclared (first use in this function) ../../src/bfd/elf.c:8512: error: syntax error before "lwpstat" ../../src/bfd/elf.c:8515: error: `lwpstat' undeclared (first use in this function) ../../src/bfd/elf.c: In function `elfcore_write_pstatus': ../../src/bfd/elf.c:8549: error: `pstatus32_t' undeclared (first use in this function) ../../src/bfd/elf.c:8549: error: syntax error before "pstat" ../../src/bfd/elf.c:8551: error: `pstat' undeclared (first use in this function) ../../src/bfd/elf.c:8560: error: `pstatus_t' undeclared (first use in this function) ../../src/bfd/elf.c:8560: error: syntax error before "pstat" make[3]: *** [elf.lo] Error 1 make[3]: Leaving directory `/export/home/paul/gdb-cvs/build/bfd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/paul/gdb-cvs/build/bfd' make[1]: *** [all] Error 2 make[1]: Leaving directory `/export/home/paul/gdb-cvs/build/bfd' make: *** [all-bfd] Error 2 -- Paul Pluzhnikov