Fix operator doubly nested namespace search.
authorSami Wagiaalla <swagiaal@redhat.com>
Mon, 7 Jun 2010 17:51:03 +0000 (17:51 +0000)
committerSami Wagiaalla <swagiaal@redhat.com>
Mon, 7 Jun 2010 17:51:03 +0000 (17:51 +0000)
commit245040d756e6e32bb26e82597834ea6aa1546da8
treec92a06a8e75855b01d46ef77e09717689ffca897
parent4c3376c84943b8102da4237141dab7f1595912ca
Fix operator doubly nested namespace search.

2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>

* cp-support.c (make_symbol_overload_list_namespace): Only search
static and global blocks.
(make_symbol_overload_list_block): New function.
(make_symbol_overload_list): Separate namespace search from block
search.
(make_symbol_overload_list_qualified): Use
make_symbol_overload_list_block.
gdb/ChangeLog
gdb/cp-support.c