This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New warning in GDB 7.5
> 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.