gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 18 Feb 2011 19:10:48 +0000 (19:10 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 18 Feb 2011 19:10:48 +0000 (19:10 +0000)
commiteeaafae2bdf07efbe757579c966da3c422496053
tree791125207010daae2e96bcfc9d9de5cfba24201c
parentae97b9228de63b9496cad36aff26742bea32e2e1
gdb/
* cp-support.c (make_symbol_overload_list_namespace): Do not call
make_symbol_overload_list_block with NULL BLOCK.
* valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.

gdb/testsuite/
* gdb.cp/typedef-operator.exp: New file.
* gdb.cp/typedef-operator.cc: New file.
gdb/ChangeLog
gdb/cp-support.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/typedef-operator.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/typedef-operator.exp [new file with mode: 0644]
gdb/valarith.c