* [RFC/AIX] xm-aix4.h - Remove USG #define
@ 2004-08-08 4:46 Joel Brobecker
2004-08-08 12:33 ` Mark Kettenis
0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2004-08-08 4:46 UTC (permalink / raw)
To: gdb-patches; +Cc: Andrew Cagney, Peter Schauer, Kevin Buettner
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...
--
Joel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC/AIX] xm-aix4.h - Remove USG #define
2004-08-08 4:46 [RFC/AIX] xm-aix4.h - Remove USG #define Joel Brobecker
@ 2004-08-08 12:33 ` Mark Kettenis
2004-08-08 13:57 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Mark Kettenis @ 2004-08-08 12:33 UTC (permalink / raw)
To: brobecker
Cc: gdb-patches, cagney,
Peter.dot.Schauer.at.regent.dot.e-technik.dot.tu-muenchen.dot.de,
kevinb.at.redhat.dot.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC/AIX] xm-aix4.h - Remove USG #define
2004-08-08 12:33 ` Mark Kettenis
@ 2004-08-08 13:57 ` Andrew Cagney
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2004-08-08 13:57 UTC (permalink / raw)
To: Mark Kettenis, brobecker
Cc: gdb-patches, cagney,
Peter.dot.Schauer.at.regent.dot.e-technik.dot.tu-muenchen.dot.de,
kevinb.at.redhat.dot.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.
Right, as a reference, `break main; run' still worked on IRIX 6.5 after
#define USG was removed from it's config.
However, lets just define `oldest AIX system' to mean `>=4.3 AIX system'.
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-08 13:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-08 4:46 [RFC/AIX] xm-aix4.h - Remove USG #define Joel Brobecker
2004-08-08 12:33 ` Mark Kettenis
2004-08-08 13:57 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox