This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: Fix gdb 8.1 Solaris compilation


Hi Andreas,

> On Sep 21 2017, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
>
>> diff --git a/gdb/configure.nat b/gdb/configure.nat
>> --- a/gdb/configure.nat
>> +++ b/gdb/configure.nat
>> @@ -216,7 +216,8 @@ case ${gdb_host} in
>>  	case ${gdb_host_cpu} in
>>  	    i386)
>>  		# Host: Solaris x86
>> -		NATDEPFILES='fork-child.o i386-v4-nat.o i386-sol2-nat.o \
>> +		NATDEPFILES='fork-child.o fork-inferior.o
>> +		i386-v4-nat.o i386-sol2-nat.o
>>  		procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o'
>>  		HAVE_NATIVE_GCORE_HOST=1
>>  		;;
>
> Doesn't that lack backslashes?

It does, good catch, thanks.  The configure fragment resp. shell is fine
without, of course, but they are needed once substituted into Makefile.
Fixed locally.

However, this section is only needed on Solaris < 10, which is why I
didn't notice it until I tried an i386-pc-solaris2.9 build.  It's
probably time to remove support for those old Solaris versions in gdb,
too: gcc lost them after 4.9.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


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