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: New warning in GDB 7.5


> Date: Mon, 20 Aug 2012 16:24:17 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: eliz@gnu.org, brobecker@adacore.com, gdb-patches@sourceware.org
> 
> On Sun, 19 Aug 2012 21:10:49 +0200, Mark Kettenis wrote:
> >     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.
> 
> It will, because GDB generates symbols for each type.  See for example:
> process_structure_scope -> new_symbol_full <DW_TAG_structure_type> ->
> -> add_symbol_to_list

If it relies on DW_TAG_structure_type, it needs DWARF, perhaps even
newer than DWARF-2, doesn't it?  Emacs debugging shouldn't depend on
that.


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