This is the mail archive of the gdb@sources.redhat.com 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]

Re: Building gdb for sparcv9-sun-solaris2.8


Thanks for your quick reply.

This tag is valid when I run:
sh config.sub sparcv9-sun-solaris2.8
and it is the same tag I specified when I built the 64
bit compiler.

When I tried the ../src/configure
--prefix=/home/debbie/gdb-5.0-sparc64/install
sparc64-sun-solaris2.8 I get further but I get an
error on the make:

I../../src/gdb/../readline/.. -I../bfd
-I../../src/gdb/../bfd  -I../../src/gdb/../include
-I../intl -I../../src/gdb/../intl -I../../src/gdb/tui 
-DUSE_INCLUDED_REGEX   ../../src/gdb/sparc-tdep.c
../../src/gdb/sparc-tdep.c: In function
`supply_gregset':
../../src/gdb/sparc-tdep.c:1347: `PS_REGNUM'
undeclared (first use in this function)
../../src/gdb/sparc-tdep.c:1347: (Each undeclared
identifier is reported only once
../../src/gdb/sparc-tdep.c:1347: for each function it
appears in.)
../../src/gdb/sparc-tdep.c:1353: `WIM_REGNUM'
undeclared (first use in this function)
../../src/gdb/sparc-tdep.c:1354: `TBR_REGNUM'
undeclared (first use in this function)
../../src/gdb/sparc-tdep.c:1355: `CPS_REGNUM'
undeclared (first use in this function)
../../src/gdb/sparc-tdep.c: In function
`fill_gregset':
../../src/gdb/sparc-tdep.c:1373: `PS_REGNUM'
undeclared (first use in this function)
../../src/gdb/sparc-tdep.c: In function
`supply_fpregset':
../../src/gdb/sparc-tdep.c:1409: `FPS_REGNUM'
undeclared (first use in this function)
../../src/gdb/sparc-tdep.c: In function
`fill_fpregset':
../../src/gdb/sparc-tdep.c:1436: `FPS_REGNUM'
undeclared (first use in this function)
make[1]: *** [sparc-tdep.o] Error 1
make[1]: Leaving directory
`/home/debbie/gdb-5.0-sparc64/build/gdb'
make: *** [all-gdb] Error 2


The bottom line is that I need to be able to debug 64
bit executables and the gdb built for a straight
solaris 8 machine doesn't like them.

Any suggestions?
Thanks,
Debbie





--- Jeff Holcomb <jeffh@redhat.com> wrote:
> On Thu, 1 Nov 2001, Debbie Meade wrote:
> 
> > I am trying to build gdb 5.0 for
> > sparcv9-sun-solaris2.8 host and I am getting a
> failure
> > while configuring:
> 
> Is that a valid host triple?  What happens when you
> run src/config.guess 
> ?  I suspect you want your host to be either
> sparc-sun-solaris2.8 or 
> sparc64-sun-solaris2.8.
> 
> --
> Jeff Holcomb
> jeffh@redhat.com
> GDB Engineering
> Red Hat, Inc.
> 


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


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