This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA]: dwarf2expr.[ch]


Andrew Cagney <ac131313@ges.redhat.com> writes:

Is there also a way of implementing these objects such that they
check, at compile time, a match between initialized members and those
that require assignment?  Perhaphs a memset(0) will be easiest.

What do you mean by "these objects"?

Actually, that reminds me --- the function new_dwarf_expr_context is
supposed to initialize all the function pointer entries to things that
give an error message --- so that if the caller doesn't provide
something, but the expression requires it, you get an error.
``struct dwarf_expr_context'' and the like - you've addressed my concern.

Andrew



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