PR symtab/12704
authorKeith Seitz <keiths@redhat.com>
Tue, 31 May 2011 21:54:07 +0000 (21:54 +0000)
committerKeith Seitz <keiths@redhat.com>
Tue, 31 May 2011 21:54:07 +0000 (21:54 +0000)
commit2b1dbab03d9b512f15900cb274f69214bd88d3bc
tree5585a8b827c7e5c67067a6d2e1e07c67572afb57
parent0a5b1e09bf62fcbe776eb641640f802f64bb6169
PR symtab/12704
* cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove.
(cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR
and CP_ANONYMOUS_NAMESPACE_LEN.
(cp_is_anonymous): Likewise.
* cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define.
(CP_ANONYMOUS_NAMESPACE_LEN): Define.
* dwarf2read.c (namespace_name): Likewise.
(fixup_partial_die): Likewise.
* linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is
seen in the input, keep it.
gdb/ChangeLog
gdb/cp-namespace.c
gdb/cp-support.h
gdb/dwarf2read.c
gdb/linespec.c