2010-03-15 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Mon, 15 Mar 2010 23:53:21 +0000 (23:53 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 15 Mar 2010 23:53:21 +0000 (23:53 +0000)
commitb6e7192faea564e642781cb81a16e2941952da25
tree0952b7a4feb49cc932a1d6b5c89ad12b599f8aef
parentf5f4f512c3b24b064c16eab4968607ceef8dd468
2010-03-15 Stan Shebs  <stan@codesourcery.com>

* 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.
gdb/ChangeLog
gdb/ax-gdb.c