[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't build gdb 5.0 for sparc64-sun-solaris2.7
From: |
Kevin Neel |
Subject: |
Can't build gdb 5.0 for sparc64-sun-solaris2.7 |
Date: |
Thu, 9 Nov 2000 15:12:15 -0800 |
I would like to use gdb on programs running in 64 bit mode (v9 mode) on
Solaris 2.7. Looking at the config scripts, I assume that building with
'../gdb-5.0/configure sparc64-sun-solaris2.7' (in an empty sister directory)
should work. But I get compile errors when doing so; some register macros
that are #defined for sparc are #undefined for sparc64, but still used.
I have tried buillding after configuring with CC='cc -xarch=v9' [for Sun's
64 bit compiler] and with CC='gcc-2.95' [in 32 bit mode]. Same problem
arises in each. I am building on an Ultrasparc-II system running Solaris
2.7.
nazgul% uname -a
SunOS nazgul 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-Enterprise
nazgul%
E.g., the output from gcc:
../../gdb-5.0/gdb/../intl -I../../gdb-5.0/gdb/tui -DUSE_INCLUDED_REGEX
../../gdb-5.0/gdb/sparc-tdep.c
../../gdb-5.0/gdb/sparc-tdep.c: In function `supply_gregset':
../../gdb-5.0/gdb/sparc-tdep.c:1347: `PS_REGNUM' undeclared (first use in
this function)
../../gdb-5.0/gdb/sparc-tdep.c:1347: (Each undeclared identifier is reported
only once
../../gdb-5.0/gdb/sparc-tdep.c:1347: for each function it appears in.)
../../gdb-5.0/gdb/sparc-tdep.c:1353: `WIM_REGNUM' undeclared (first use in
this function)
../../gdb-5.0/gdb/sparc-tdep.c:1354: `TBR_REGNUM' undeclared (first use in
this function)
../../gdb-5.0/gdb/sparc-tdep.c:1355: `CPS_REGNUM' undeclared (first use in
this function)
../../gdb-5.0/gdb/sparc-tdep.c: In function `fill_gregset':
../../gdb-5.0/gdb/sparc-tdep.c:1373: `PS_REGNUM' undeclared (first use in
this function)
../../gdb-5.0/gdb/sparc-tdep.c: In function `supply_fpregset':
../../gdb-5.0/gdb/sparc-tdep.c:1409: `FPS_REGNUM' undeclared (first use in
this function)
../../gdb-5.0/gdb/sparc-tdep.c: In function `fill_fpregset':
../../gdb-5.0/gdb/sparc-tdep.c:1436: `FPS_REGNUM' undeclared (first use in
this function)
make[1]: *** [sparc-tdep.o] Error 1
make: *** [all-gdb] Error 2
Any ideas?
Thanks,
Kevin Neel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Can't build gdb 5.0 for sparc64-sun-solaris2.7,
Kevin Neel <=