Warning: (Internal error: pc 0x804a6b0 in read in psymtab but not in symtab.) G ++

I am trying to debug a program using ddd. When I try to enter any function or inside main (), I get the following warning:

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

This warning flashes whenever I try to switch to another command using "n" or enter or leave a function. I tried to see this in other forums, but without a definitive answer. The code I'm trying to debug runs in multiple files, and I'm not sure if I can put all the code here.

I am using g ++ version:
g ++ (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)

Any help on this is welcome.

+5
source share
2 answers

ks1322 correctly assume that the problem is probably related to the gdb error that has been fixed. I think the corresponding description and correction is described in the following link.

http://sourceware.org/ml/gdb-patches/2003-01/msg00074.html

I can confirm that when I also ran into this problem in a C ++ application under gdb 6.8, updating to gdb 7.2 enabled it.

+4
source

Try using a newer version of gdb (7.0 or 7.1)

+2
source

All Articles