This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC/AIX] xm-aix4.h - Remove USG #define
- From: Mark Kettenis <kettenis at chello dot nl>
- To: brobecker at gnat dot com
- Cc: gdb-patches at sources dot redhat dot com, cagney at redhat dot com, Peter dot dot dot Schauer dot at dot regent dot dot dot e-technik dot dot dot tu-muenchen dot dot dot de at elgar dot kettenis dot dyndns dot org, kevinb dot at dot redhat dot dot dot com at elgar dot kettenis dot dyndns dot org
- Date: Sun, 8 Aug 2004 14:32:58 +0200 (CEST)
- Subject: Re: [RFC/AIX] xm-aix4.h - Remove USG #define
- References: <20040808044649.GC24160@gnat.com>
Date: Sat, 7 Aug 2004 21:46:49 -0700
From: Joel Brobecker <brobecker@gnat.com>
config/xm-aix4.h has the following definition:
| #define USG 1
The most obvious way of getting rid of it is to add a piece in configure.in
to set this define if on AIX by adding a -D to the cflags, but that
would be ugly. I think the best approach would be to see if we couldn't
just get rid of its usage entirely. Need to review its usage first...
The USG define just really has to go. Given the fact that GDB
compiles without problems on many SystemV-ish systems without the
define, my guess is that it can be eliminated. Just try what happens
if you delete it on the oldest AIX system you can find.
Mark