This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdb 5.0 with AIX 4.3.3 and g++ 2.95.2
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Re: gdb 5.0 with AIX 4.3.3 and g++ 2.95.2
- From: "Scott J. Pekarek" <sjp at gofast dot net>
- Date: Mon, 19 Jun 2000 10:03:03 -0500
- References: <394A3C16.3950C44C@gofast.net>
FYI,
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 */
to
#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....
Thanks,
sjp