]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
2002-11-24 David Carlton <carlton@bactrian.org>
authorDavid Carlton <carlton@bactrian.org>
Sun, 24 Nov 2002 18:47:19 +0000 (18:47 +0000)
committerDavid Carlton <carlton@bactrian.org>
Sun, 24 Nov 2002 18:47:19 +0000 (18:47 +0000)
commite685a85fe1020f2f0b34610e5e6e2d9ac8318801
tree1a5c681dfa492dc1edec691ed78890698ac6ef58
parent6d291dcf15f219a6f6bcab1a838617437f250c52
2002-11-24  David Carlton  <carlton@bactrian.org>

* Makefile.in (c-typeprint.o): Depend on gdb_assert_h.
* c-typeprint.c: #include "gdb_assert.h"
* gdbtypes.c (recursive_dump_type): Handle TYPE_CODE_NAMESPACE.
* c-typeprint.c (c_type_print_varspec_prefix): Ditto.
(c_type_print_varspec_suffix): Ditto.
(c_type_print_base): Ditto.
* typeprint.c (print_type_scalar): Ditto.
* printcmd.c (print_formatted): Ditto.
* language.c (structured_type): Ditto.
* cp-support.c (cp_check_namespace_symbol): Allocate type via
init_type.
* gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
* valops.c (value_namespace_elt): Handle sym == NULL.

2002-11-24  David Carlton  <carlton@bactrian.org>

* gdb.c++/namespace.exp: Eliminate some of the single quotes, and
duplicate some of the single quote tests without the quotes.
Change "print E::ce" test.
Add some ptype <namespace> tests.
* carlton_runnamespace: Use different files for compiler with and
without debug info.
12 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/c-typeprint.c
gdb/cp-support.c
gdb/gdbtypes.c
gdb/language.c
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/carlton_runnamespace
gdb/testsuite/gdb.c++/namespace.exp
gdb/typeprint.c
gdb/valops.c