This is the mail archive of the gdb@sources.redhat.com 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: AIX and xm-aix.h


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


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