Re: Time for a MinGW-GDB Upgrade?

Keith Marshall <[email protected]> Sat, 18 Jul 2020 17:09:05 +0100
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
On 17/07/2020 11:44, Eli Zaretskii wrote:
>> ... of GDB's configuration (in subdirectories) is deferred until
>> the top level "make" is run, and the top level configure's notion of
>> CPPFLAGS isn't propagated, through the "make" phase, to the subdirectory
>> "configure" runs.
> 
> That sounds like another bug, because CFLAGS and CXXFLAGS set the same
> way _are_ propagated.  And "/configure --help" at top level does
> mention all of the variables, including CPPFLAGS and CFLAGS/CXXFLAGS.
> FWIW, I set CFLAGS and CXXFLAGS (using the archaic method) all the
> time when I build GDB.

Okay.  I raised the issue on gdb-patches-9JcytcrH/[email protected], as you
suggested:
https://sourceware.org/pipermail/gdb-patches/2020-July/170547.html

Meanwhile, using the kludged work-around, as I previously described,
allows me to move on to the next problem:

   CXX    source-cache.o
   ../../src/gdb-9.2/gdb/source-cache.c:37:10: fatal error:
   srchilite/sourcehighlight.h: No such file or directory
      37 | #include <srchilite/sourcehighlight.h>
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [Makefile:1656: source-cache.o] Error 1

Now, this should not have happened: there is a configuration test for
availability of source-highlight, which should have conditionally marked
this section of code for omission, (because the source-highlight API is
not present in my MinGW tree).  Yet another GDB configuration bug, which
I will also report on gdb-patches ... I can even offer a one-line patch
to correct it.

That said, I note that you, Eli, do build your GDB with source-highlight
support.  How much of a sacrifice would it be, if I omit it?

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwZ7AGBVH3lDh1I9TwK02xjR+Wj8FAl8THqEACgkQwK02xjR+
Wj9kwxAAgHtluY/7vFt45hC++rbvkaFO3LhAq6ol00HrOBd8m4NiLBObo13dsasu
QYmeWQ68MPRv6hvDianm7SU17nEWwNfWkR+23gmyZm3EY/G408Z3KXoKvMPbKE5+
n84BjmmWh5Xzs5T1AMEj8aaJjb0/twBdlAsDOMvn0Lcap8SEA7PNFiq/rmtwpqKb
lMVtMSdChA28XCrNj/G3B5hqGqYdI+/pqvFPBqFNQ4IPZteZEF9rv1ZK+/fOV3zi
AwROK+h4mu4BHGeXfK53O8m4fdTFLkageq/XnKSH7K3+j7GSN2HPCVdWCTMNO2mg
hLuyBBQnbCgSsQ1gBE4cRYKoJUKK5f8GSSeLCLKWImaC+erYePY5IGN8L//M9HJ3
UGeDcMC9hs+xUVDw69puzMN0DS5K0RUJfeijSnmoSEzG5imj2qgKQ5EJbtjxqI8B
cEDX2h1Afb+SkNX0jnTTs3uRoPeQ8fWqOqv65V9SA5ncBvlZYOAWHUfFtxfVp2op
/Sn0cCKMRvkq9RfJr9w9acBMOS73SgUNttG3xtohNR2rjOWXxvRuMIbc5tPRTOt/
6n+SQj+JVvDnoCocC5exHUUXeaUXz2/Rhkh0eWClgSVLu2tkRWeQVotV0r3tUaxD
ATEBrt75cu/LUGlu8t5AJR69LV4PtsrjXsGEZ1iFeFjTGRYXrTo=
=Pcg/
-----END PGP SIGNATURE-----