This is the mail archive of the gdb-patches@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: [rfa:sparc/rfc] multi-arch SOFTWARE_SINGLE_STEP et.al.


"Paul N. Hilfinger" 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.
> >
> > During development, when I had a prototype gcc that would do 64-bit
> > but not as the default, I simply defined CC = "gcc -m64".
> 
> This reminds me of a question that came up while I was trying to build
> a sparc64 version:  Is it intended that the current GDB5 sources compile only
> on GCC? 

No, it is most certainly not intended.

> For example, in findvar.c, there is the line
> 
>   char raw_buffer[MAX_REGISTER_RAW_SIZE];

Ah.  That line's been in there since 1991 (at least one instance of 
that line has).  As we find these, we will fix them.

I could just fix it, but I'll offer you the opportunity to 
submit a patch first.  ;-)

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