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.

> I suspect, for instance, you'll need to add a thread_local_storgage()
> method pretty soon :-)

Yeah, struct dwarf_expr_context will need a method for
DW_OP_GNU_push_tls_address to fall back on.


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