Fix gdb 8.1 Solaris/SPARC compilation (PR build/22206)
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Tue Sep 26 13:04:00 GMT 2017
Hi Pedro,
> On 09/26/2017 10:33 AM, Rainer Orth wrote:
>
>> Apart from the capitalization differences that trip g++, the names
>> differ (PSR_VER vs. PSR_VERS), PSR_XCC is included in Solaris' PSR_RSV,
>> and there's no PSR_V8PLUS on Solaris either.
>
> What you've done is fine with me to unbreak the build. Though
> I'd prefer if we renamed those to avoid ever relying on host
> symbols, anywhere. Like:
>
> - #define PSR_S ...
> + #define SPARC64_PSR_S ...
>
> etc.
agreed. That's probably best done when figuring out how to properly
separate target-dependent and independent parts of ADI support.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gdb-patches
mailing list