[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    [rfa:sparc/rfc] multi-arch SOFTWARE_SINGLE_STEP et.al.
From:       ac131313 () cygnus ! com (Andrew Cagney)
Date:       2001-01-31 23:01:00
Message-ID: 3A790917.D58BDD87 () cygnus ! com
[Download RAW message or body]

Michael Snyder wrote:
> 
> Andrew Cagney wrote:
> >
> > Andrew Cagney wrote:
> >
> > > For the sparc64 this multi-arches software_single_step.  Maintainer?
> > > Test on a solaris N+1 machine?
> >
> > So, I've managed to get a solaris 7 machine.  How should I configure
> > things so that I know I'm testing the sparc64 support?
> 
> Just make sure that the default gcc on your path (or $CC) defaults to 64-bit.
> Everything else should follow automatically.

Ok, found one.  Must be working because:

$ file corelow.o
corelow.o:      ELF 64-bit MSB relocatable SPARCV9 Version 1

> During development, when I had a prototype gcc that would do 64-bit
> but not as the default, I simply defined CC = "gcc -m64".

Only ....

gcc -c -g -O    -I. -I/skil/cagney/SINGLE-STEP/src/gdb
-I/skil/cagney/SINGLE-STEP/src/gdb/config -DHAVE_CONFIG_H
-I/skil/cagney/SINGLE-STEP/src/gdb/../include/opcode
-I/skil/cagney/SINGLE-STEP/src/gdb/../readline/.. -I../bfd
-I/skil/cagney/SINGLE-STEP/src/gdb/../bfd 
-I/skil/cagney/SINGLE-STEP/src/gdb/../include -I../intl
-I/skil/cagney/SINGLE-STEP/src/gdb/../intl  -DUI_OUT=1  -Werror
/skil/cagney/SINGLE-STEP/src/gdb/core-sol2.c
In file included from /skil/cagney/SINGLE-STEP/src/gdb/core-sol2.c:35:
/usr/include/v9/sys/privregs.h:20:20: sys/asi.h: No such file or
directory
make: *** [core-sol2.o] Error 1
cagney@skil$ file corelow.o

I appended an extra -I/usr/include/v9 to CFLAGS. Should that be needed?

	Andrew

PS, there are also a few -Werror warnings.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic