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: "Scott J. Pekarek" <sjp at gofast dot net>, gdb-patches at sourceware dot cygnus dot com
- Subject: Re: gdb 5.0 with AIX 4.3.3 and g++ 2.95.2
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Mon, 19 Jun 2000 08:34:24 -0700
- Cc: Nicholas Duffek <nsd at redhat dot com>
- References: <394A3C16.3950C44C@gofast.net> <394E3627.994B1F30@gofast.net>
On Jun 19, 10:03am, Scott J. Pekarek wrote:
> 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.
It's quite appropriate. We appreciate hearing about any bugs that you
find. (Thanks.)
[...]
> 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 */
I think that this problem has been fixed by the following change in the
latest development sources...
Fri Apr 7 13:44:38 2000 glen mccready <gkm@pobox.com>
* rs6000-nat.c (xcoff_relocate_symtab): Grow buffer if ptrace()
fails due to lack of space.
BTW, you can download and build the latest development sources. See
http://sourceware.cygnus.com/gdb/#download for more information.
> Any info on the status of gdb support for multi-threaded applications would
> be appreciated....
Can someone else answer this one? (Nick?)
Thanks again for your bug report and proposed solution.
Kevin