I offer this patch with a little trepidation, because while it makes more kinds of C++ work with tracepoints, it is also very obviously incomplete. There are additional patches in the pipeline that don't merge yet because of other dependencies, but even then there will still be holes in coverage. On the positive side, this is localized to bytecode compilation. I'll hold off on this one for several days, in case anyone wants to weigh in. (If some of it seems familiar, it's because I ripped and stripped from the regular eval code.) Stan 2010-03-11 Stan Shebs * ax-gdb.c: Include cp-support.h. (find_field): Remove. (gen_primitive_field): New function. (gen_struct_ref_recursive): New function. (gen_struct_ref): Rewrite to call gen_struct_ref_recursive instead of find_field. (gen_static_field): New function. (gen_struct_elt_for_reference): New. (gen_namespace_elt): New. (gen_maybe_namespace_elt): New. (gen_aggregate_elt_ref): New. (gen_expr): Add OP_SCOPE, display opcode name in error message.