gdb 5.0 with AIX 4.3.3 and g++ 2.95.2

Scott J. Pekarek
Mon Jun 19 07:56:00 GMT 2000


I am sure this is not entirely appropriate but I was asked to post this
to the gdb bug list - which I hope I have found.  I am not  an
active open source contributor but I have started  using open-source
applications.  At  any rate I found a problem and potential solution to
a problem with gdb5.0  on AIX 4.3.3.

gdb seems to give me a
somewhat reasonable trace on post-mortem
core dump analysis but if I try to run inside of gdb it ponders a bit
and I get the following message:

ptrace ldinfo: Not enough space.

We where able to get around this problem by changing the following line
in gdb/rs6000-nat.c and recompiling.

#define MAX_LOAD_SEGS 64        /* maximum number of load segments */
#define MAX_LOAD_SEGS 1024      /* maximum number of load segments */

Sorry if this is inappropriate and if you would prefer that I do
something else with this info please let me know.   I originally posted
this on
comp.unix.aix and one of the IBM guys wanted me to submit this.

Any info on the status of gdb support for multi-threaded applications would
be appreciated....



More information about the Gdb-patches mailing list