gdb/
authorDaniel Jacobowitz <drow@false.org>
Wed, 8 Sep 2010 19:09:43 +0000 (19:09 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 8 Sep 2010 19:09:43 +0000 (19:09 +0000)
commitc767944bf25ae52241366d9bdc7ba14b493f17eb
tree322a298962eafe7852fad3d99848edcf3fd8cbc4
parent561d38252c8b1c7a006eb58f079d3d650bee5743
gdb/
* dwarf2read.c (read_structure_type): Move processing of
fields and member functions from here...
(process_structure_scope): ... to here.

gdb/testsuite/
* gdb.cp/templates.cc (Empty, FunctionArg): New classes.
(FunctionArg::method): New function.
(empty, arg): New variables.
(main): Call arg.method.
* gdb.cp/templates.exp (test_template_args): New function.
(do_tests): Call it.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/templates.cc
gdb/testsuite/gdb.cp/templates.exp