Hello

I've recently downloaded and configured gdb 5.0 to build on our
AIX 4.3.3 system.

The make starts of then falls over in infptrace.c:

"/usr/include/sys/ptrace.h", line 279,9: 1506-046 (S) Syntax error.

The problem appears to some clash in the definitions of PT_ATTACH
and PTRACE_ATTACH. The AIX system header contains an enum to
provide some Linux compatability - could this be the problem (is
configure detecting some Linux-ism's?)

My workaround was to hack infptrace.c and move the include of
<sys/ptrace.h> to the start of the file so I suspect the problem
lies in one of the gdb headers included before <sys/ptrace.h>
(sorry, I didn't do much more investigation!)

I also had the same problem with rs6000-nat.c - again, moving the
header allowed compilation to proceed.

However, when I try to use the built gdb I get:

ptrace ldinfo: Not enough space

Obviously, this could be a problem on our AIX system (a lack of
memory I suspect but the system appears to have plenty of memory
free). I'm am concerned that my hacky fix may have broken gdb
(esp. since I worked around a ptrace issue and thats what appears
to be failing)

Has gdb been built and run on AIX 4.3.3 before?

Adam K

PS> I'm using the IBM VA C compiler 5.0 not GCC :-(
-- 
Adam Kerrison - Chief Technology Officer, Micromuse Inc.
[EMAIL PROTECTED]  T: +44 (0) 208 875 9500  F: +44 (0) 208 877 6209
begin:vcard 
n:Kerrison;Adam
tel;cell:+44 (0) 777 197 3324
tel;fax:+44 (0) 208 877 6209
tel;work:+44 (0) 208 875 9500
x-mozilla-html:FALSE
url:www.micromuse.com
org:Micromuse, Inc;Research & Development
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Technology Officer
adr;quoted-printable:;;Disraeli House=0D=0A90 Putney Bridge Road;London;;SW18 1DA;UK
fn:Adam Kerrison
end:vcard

Reply via email to