Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb completely broken on AIX?
@ 2009-10-04  3:54 Norm Green
  0 siblings, 0 replies; only message in thread
From: Norm Green @ 2009-10-04  3:54 UTC (permalink / raw)
  To: gdb

When I debug a 64 bit program on AIX, I get massive numbers of errors like
this:

warning: (Internal error: pc 0x900000002c16438 in read in psymtab, but not
in symtab.)

I can still see the call stack and see source, but I can't look at any
variables in the stack: 

	No symbol "xxx" in the current context

I don't have this problem when compiling with -maix32, only with -maix64.

I'm building with this gcc/g++ :

Using built-in specs.
Target: powerpc-ibm-aix5.2.0.0
Configured with: ./configure --prefix=/fire3/users/normg/gnu/gcc434-inst
--enable-threads=aix --disable-shared --disable-werror --disable-nls
--enable-languages=c,c++ --with-gnu-as
--with-as=/export/localnew/RISC6000.AIX/bin/as --without-gnu-ld
--with-ld=/usr/bin/ld CONFIG_SHELL=/usr/bin/bash
CC=/export/localnew/RISC6000.AIX/gcc422/bin/gcc
CXX=/export/localnew/RISC6000.AIX/gcc422/bin/g++
AS=/export/localnew/RISC6000.AIX/bin/as LD=/usr/bin/ld
Thread model: aix
gcc version 4.3.4 (GCC)

I use the IBM compiler, xlc_r, for linking only (the GNU linker does not
seem to work on AIX).  I need to use the -bbigtoc linker option because
the TOC goes over 64K.

I've tried building gdb 6.8 release and this one with the same results:

GNU gdb (GDB) 6.8.50.20090915
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.2.0.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

I've also tried compiling with -g and -gxcoff+ with no luck.

Can anyone help with this or know if there's a patch available to fix the
problem?  I _really_ want to use gdb instead of the IBM dbx debugger.

thanks,

Norm Green
GemStone Systems Inc.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-04  3:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-04  3:54 gdb completely broken on AIX? Norm Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox