This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: psymtab not in symtab warning patch


Steven Johnson <sjohnson@sakuraindustries.com> writes:
> Please consider the attached patch.
>
> It allows the "PC 0x??? in psymtab but not in symtab" warning to be
> "toggled off".  The reason for this, is for whatever reason I get it
> heaps with my PPC Assembler code.  There doesn't appear to be any
> obvious incantation to control it or prevent it when building the asm
> files, so i've given up trying.  The attached patch retains the current
> behaviour, but if someone is being inundated by the warning, which
> happens when it occurs, they can turn it off, and at least continue
> debugging OK.
>
> Obviously finding out why it happens is far better, but i know nothing
> about dwarf debug information, or the psymtab or symtab stuff, so i'm
> not going to be productive in finding a better answer.

I'm happy to debug this, if you can get me an executable to work with.
Large is fine, just something you can share.

As far as the patch goes --- we probably want to use a complaint here;
see 'complaints.h', and see how they're used in dwarf2read.c.  That
will automatically limit the number of times you see the complaint,
the default being zero.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]