]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
2002-10-15 David Carlton <carlton@math.stanford.edu>
authorDavid Carlton <carlton@bactrian.org>
Tue, 15 Oct 2002 23:59:24 +0000 (23:59 +0000)
committerDavid Carlton <carlton@bactrian.org>
Tue, 15 Oct 2002 23:59:24 +0000 (23:59 +0000)
commit6a5203383dfcd685b461718ba6c072e4c750cfa6
treed1c985e25fe41d767fd362e8bd43210eedae76de
parentc3b4d9b0a6d5a54659f00cb1c758dc374352dabb
2002-10-15  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux_using_loop): prefix_len should be <=
outer_length.
(lookup_symbol_aux_using_loop): Don't skip colons in rest_of_outer
if we've used all of outer.
* cp-support.h: Rename declaration of cp_add_using to
cp_add_using_obstack.
* cp-support.c (cp_add_using_obstack): Rename from cp_add_using.
* buildsym.h: Rename arguments in declaration of
add_using_directive.
* buildsym.c (add_using_directive): Finish definition, rename
arguments.
* cp-support.h: Add declaration for cp_add_using_xmalloc.
* cp-support.c (cp_add_using_xmalloc): New function.
* buildsym.c (copy_usings_to_obstack): New function.
(end_symtab): Set STATIC_BLOCK's BLOCK_USING using
copy_usings_to_obstack.

2002-10-15  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/namespace.exp: Add anonymous namespace tests.
* gdb.c++/namespace.cc: Add anonymous namespaces.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/cp-support.c
gdb/cp-support.h
gdb/symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.c++/namespace.cc
gdb/testsuite/gdb.c++/namespace.exp