This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] More C++ for tracepoint actions
Pedro Alves wrote:
I got comments :-)
On Friday 12 March 2010 01:05:58, Stan Shebs wrote:
+ static int
+ gen_maybe_namespace_elt (struct expression *exp,
+ struct agent_expr *ax, struct axs_value *value,
+ const struct type *curtype, char *name)
+ {
+ const char *namespace_name = TYPE_TAG_NAME (curtype);
+ struct symbol *sym;
+
+ sym = cp_lookup_symbol_namespace (namespace_name, name,
+ get_selected_block (0),
This should be context of the tracepoint instead:
block_for_pc (ax->scope)
Thanks for the catch! Committed with that change.
Stan