This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Put a NT_PSTATUS note on solaris cores.


On Sat, Oct 31, 2009 at 2:01 PM, Pedro Alves <pedro@codesourcery.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]