This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: warning: (Internal error: pc 0xd00 in read in psymtab, but not in symtab.)
On Mon, Nov 14, 2005 at 08:07:16PM -0500, Ron McCall wrote:
> If I enter "disas main" instead, no warnings are printed. There is a
> symbol at 0xd00 named trace_exc and "disas trace_exc" also generates the
> warnings. Note that the trace exception handler is written in assembly
> (GNU as) and normally resides in a custom section named "excvectbl".
> However, I changed that to ".text" just to make sure it wasn't the
> custom section that was causing grief and that didn't help.
>
> Anything else I should look at?
Then it's probably a result of having some code with no debug info.
You may want to try producing a small test case, that you can post for
us to examine.
--
Daniel Jacobowitz
CodeSourcery, LLC