* cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
authorTom Tromey <tromey@redhat.com>
Fri, 25 Jan 2013 17:36:01 +0000 (17:36 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 25 Jan 2013 17:36:01 +0000 (17:36 +0000)
commit12aaed36e3f39b4dadf6bc8f74d254d4d8a3909f
treef61366b0050baf69e9284321710e3d1725e1a713
parent7fc75ca750afe059352f475d7511330506e835ef
* cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
(cp_add_using_directive): Add 'copy_names' argument.
* cp-support.h (cp_add_using_directive): Update.
(struct using_direct) <import_src, import_dest, alias,
declaration>: Now const.
* dwarf2read.c (read_import_statement): Use obconcat.
Don't copy names passed to cp_add_using_directive.
gdb/ChangeLog
gdb/cp-namespace.c
gdb/cp-support.h
gdb/dwarf2read.c