public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* AIX and xm-aix.h
@ 2004-08-07 19:17 Andrew Cagney
  2004-08-08  4:21 ` Joel Brobecker
  2004-08-08  7:35 ` Peter Schauer
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Cagney @ 2004-08-07 19:17 UTC (permalink / raw)
  To: peter.schauer; +Cc: Kevin Buettner, Joel Brobecker, gdb

Peter,

GDB's currently expunging all the xm-*.h files from it's configuration 
(instead relying strictly on autoconf).  For most systems this is 
straight forward (the xm files were empty / redundant).  Unfortunatly, 
for AIX, it looks like there could be problems.

Can we try removing the xm files and identify / fix any problems?

It would be good to see this task finally closed.

Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AIX and xm-aix.h
  2004-08-07 19:17 AIX and xm-aix.h Andrew Cagney
@ 2004-08-08  4:21 ` Joel Brobecker
  2004-08-08  7:35 ` Peter Schauer
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Brobecker @ 2004-08-08  4:21 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: peter.schauer, Kevin Buettner, gdb

> GDB's currently expunging all the xm-*.h files from it's configuration 
> (instead relying strictly on autoconf).  For most systems this is 
> straight forward (the xm files were empty / redundant).  Unfortunatly, 
> for AIX, it looks like there could be problems.
> 
> Can we try removing the xm files and identify / fix any problems?

Let me send a fleury of emails starting a discussion on each piece
in that file...

-- 
Joel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AIX and xm-aix.h
  2004-08-07 19:17 AIX and xm-aix.h Andrew Cagney
  2004-08-08  4:21 ` Joel Brobecker
@ 2004-08-08  7:35 ` Peter Schauer
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Schauer @ 2004-08-08  7:35 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: kevinb, brobecker, gdb

I have very limited AIX resources nowadays, only an AIX 4.3 system with gcc,
no native compiler.

On this system I almost emptied xm.h, only
#define FIVE_ARG_PTRACE
had to be there, otherwise GDB doesn't compile.
It should be possible to handle this via some autoconf logic though.

Testsuite results were unchanged with the almost empty xm.h

Visual inspection of the xm files turned up only two more things:

- #pragma alloca might be needed for IBM xlc. It might be sufficient to
  include malloc.h for an alloca definition for IBM xlc, according to some
  old notes of mine.

- We will loose the SIGWINCH_HANDLER. Not a big deal in my opinion.
  Maybe it even works without it on current AIX versions. And somebody can
  always reimplement it more cleanly if it is needed desperately.

- USE_O_NOCTTY might be needed for some other AIX versions, but maybe only
  for the old AIX 3.2.5.

HTH,

> Peter,
> 
> GDB's currently expunging all the xm-*.h files from it's configuration 
> (instead relying strictly on autoconf).  For most systems this is 
> straight forward (the xm files were empty / redundant).  Unfortunatly, 
> for AIX, it looks like there could be problems.
> 
> Can we try removing the xm files and identify / fix any problems?
> 
> It would be good to see this task finally closed.
> 
> Andrew
> 


-- 
Peter Schauer			Peter.Schauer@mytum.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-08  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-07 19:17 AIX and xm-aix.h Andrew Cagney
2004-08-08  4:21 ` Joel Brobecker
2004-08-08  7:35 ` Peter Schauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).