New warning in GDB 7.5

Mark Kettenis mark.kettenis@xs4all.nl
Sun Aug 19 19:11:00 GMT 2012


> Date: Sun, 19 Aug 2012 21:59:16 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > Date: Sun, 19 Aug 2012 20:32:36 +0200 (CEST)
> > From: Mark Kettenis <mark.kettenis@xs4all.nl>
> > CC: eliz@gnu.org, gdb-patches@sourceware.org
> > 
> > Unfortunately the partial symbol table only contains information about
> > symbols.  In particular it doesn't contain type info.  So the
> > transparent conversion doesn't kick in if your .gdbinit only
> > references types.
> 
> I'm not sure I understand.  Can you give an example of "only
> referencing types" as opposed to the other kind of references?

>From the example you gave earlier:

    set $tem = (struct Lisp_Symbol *) $ptr

probably won't trigger a full symbol read since "struct Lisp_Symbol"
is a type and not a function or variable.



More information about the Gdb-patches mailing list