This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog block.c block.h breakpoint.c ...
- From: carlton at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 28 Nov 2002 00:53:26 -0000
- Subject: src/gdb ChangeLog block.c block.h breakpoint.c ...
CVSROOT: /cvs/src
Module name: src
Branch: carlton_dictionary-branch
Changes by: carlton@sourceware.org 2002-11-27 16:53:26
Modified files:
gdb : ChangeLog block.c block.h breakpoint.c
buildsym.c buildsym.h c-lang.h c-typeprint.c
cp-valprint.c defs.h dwarf2read.c f-lang.h
f-typeprint.c gdbtypes.c gdbtypes.h jv-lang.c
jv-lang.h jv-typeprint.c jv-valprint.c
language.c language.h linespec.c m2-lang.h
m2-typeprint.c p-lang.h p-typeprint.c
p-valprint.c printcmd.c stabsread.c stack.c
symfile.c symtab.c symtab.h typeprint.c utils.c
valarith.c valops.c value.h
gdb/testsuite : ChangeLog carlton_runnamespace carlton_runtest
gdb/testsuite/gdb.c++: m-data.cc m-data.exp m-static.cc
m-static1.cc namespace.cc namespace.exp
Log message:
2002-11-27 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (add_partial_enumeration): New function.
(scan_partial_symbols): Call add_partial_enumeration.
(locate_pdi_sibling): New function.
(scan_partial_symbols): Call locate_pdi_sibling. Get rid of
nesting_level.
(pdi_needs_namespace): New function.
(add_partial_symbol): Add 'namespace' arg; calculate full name
when appropriate.
(scan_partial_symbols): Update calls to add_partial_symbol.
(add_partial_enumeration): Ditto.
(read_enumeration): Add processing_current_prefix to name when
appropriate.
(new_symbol): Set names of enumerators and typedefs appropriately
if processing_has_namespace_info.
* symtab.c (lookup_symbol_namespace): Rename 'namespace' argument
to 'namespace_name'.
* symtab.h: Ditto.
* symtab.c (lookup_symbol_namespace): Delete FIXME comments; add a
new one.
(lookup_symbol_aux_file): New function.
(lookup_symbol_aux): Delete FIXME comment.
(lookup_symbol_aux): Don't search static block explicitly; delete
FIXME comments.
* valops.c (value_namespace_elt): Update call to
lookup_symbol_namespace.
* symtab.h: Update declaration for lookup_symbol_namespace.
* symtab.c (lookup_symbol_namespace): Delete 'using' argument and
add 'block' argument; get using directives via iterators.
(lookup_symbol_aux_using_loop): Delete 'using' argument and add
'block' argument.
(lookup_symbol_aux_using): Don't calculate using directives.
* block.c (block_using_iterator_first): New function.
(block_using_iterator_next): Ditto.
* block.h: Add comment.
(struct block_using_iterator): New struct.
Declare block_using_iterator_first, block_using_iterator_next.
2002-11-26 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (read_structure_scope): Set type name and
processing_current_prefix appropriately.
(new_symbol): Make sure that, in symbols associated to class
types, the name includes appropriate namespaces.
* buildsym.h: Rename processing_current_namespace to
processing_current_prefix.
* buildsym.c (finish_block): Ditto.
* dwarf2read.c (psymtab_to_symtab_1): Ditto.
(read_namespace): Ditto. Also rename previous_namespace to
previous_prefix.
Now come a thousand and one const correctness fixes:
* p-typeprint.c (pascal_print_type): Const.
(pascal_type_print_method_args): Const.
* p-lang.h: Const.
* m2-typeprint.c (m2_print_type): Const.
* valops.c (hand_function_call): Const.
* jv-lang.c (java_primitive_type_from_name): Const.
* jv-lang.h: Const.
* jv-typeprint.c (java_print_type): Const.
* language.c: (unk_lang_print_type): Const.
* stack.c (frame_info): Const.
* linespec.c (find_methods): Const.
(find_method_name): Const
* f-lang.h: Const.
* f-typeprint.c (f_print_type): Const.
* c-typeprint.c (c_print_type): Const.
* c-lang.h: Const.
* gdbtypes.h: Const.
* gdbtypes.c (lookup_primitive_typename): Const.
* stack.c (print_frame): Const.
(func_command): Delete pointless cast.
* linespec.c (find_method_name): Const.
* language.h: Const.
* symfile.c (compare_psymbols): Const.
* symtab.c (completion_list_add_name): Const.
* breakpoint.c (break_at_finish_at_depth_command_1): Remove
useless cast.
(break_at_finish_command_1): Ditto.
* typeprint.c (type_print): Const.
* symtab.h: Const.
* symtab.c (gdb_mangle_name): Const.
(symbol_init_demangled_name): Const.
(symbol_demangled_name): Const.
* defs.h: Const.
* printcmd.c (build_address_symbolic): Const.
* valops.c (search_struct_method): Const.
* cp-valprint.c (cp_is_vtbl_ptr_type): Const.
(cp_print_value): Const.
(cp_print_class_member): Const.
* c-typeprint.c (cp_type_print_derivation_info): Const.
(c_type_print_varspec_prefix): Const.
(c_type_print_base): Const.
* p-valprint.c (pascal_object_is_vtbl_ptr_type): Const.
(pascal_object_print_value): Const.
(pascal_object_print_class_member): Const.
* p-typeprint.c (pascal_type_print_derivation_info): Const.
(pascal_type_print_varspec_prefix): Const.
(pascal_type_print_base): Const.
* jv-typeprint.c (java_type_print_base): Const.
* jv-lang.h (java_demangle_type_signature): Const.
* jv-lang.c (java_demangle_type_signature): Const.
(java_demangled_signature_length): Const.
(java_demangled_signature_copy): Const.
* jv-typeprint.c (java_type_print_derivation_info): Const.
* jv-valprint.c (java_value_print): Const.
(java_print_value_fields): Const.
* jv-lang.c (is_object_type): Const.
(evaluate_subexp_java): Const.
* stabsread.c (read_cpp_abbrev): Const.
(complain_about_struct_wipeout): Const.
(cleanup_undefined_types): Const.
* gdbtypes.h: Const.
* gdbtypes.c (add_name): Second arg const.
(lookup_typename): Const.
(lookup_unsigned_typename): Const.
(lookup_signed_typename): Const.
* linespec.c (find_methods): const char *class_name.
* symtab.c (gdb_mangle_name): const char *newname.
* valops.c (destructor_name_p): const char *dname.
(search_struct_field): First arg const.
* gdbtypes.c (check_typedef): const char *name (multiple places).
(cfront_mangle_name): const char *newname.
* gdbtypes.c (add_mangled_type): const char *tname.
* valops.c (find_overload_match): const char *obj_type_name.
* utils.c (gdb_print_host_address): Make first arg const.
* defs.h: Declare first arg of gdb_print_host_address to be
const.
* valarith.c (find_size_for_pointer_math): const char *name.
2002-11-27 David Carlton <carlton@math.stanford.edu>
* gdb.c++/m-data.cc (main): Add marker comment.
* gdb.c++/m-data.exp: Use marker comment instead of line numbers.
* gdb.c++/m-data.cc: Delete superfluous namespace.
* gdb.c++/m-static.cc: Ditto.
* gdb.c++/m-static1.cc: Ditto.
* carlton_runtest: Compare based on gdb.sum, not based on output.
* carlton_runnamespace: Ditto.
2002-11-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/namespace.exp: Put tests for CClass.
* gdb.c++/namespace.cc (C): Add CClass.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.3256.2.33&r2=1.3256.2.34
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/block.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.5&r2=1.1.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/block.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.5&r2=1.1.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.89.2.5&r2=1.89.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/buildsym.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.20.2.15&r2=1.20.2.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/buildsym.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.5.8.5&r2=1.5.8.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/c-lang.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.5.10.1&r2=1.5.10.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/c-typeprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.22.8.2&r2=1.22.8.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-valprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.15.2.1&r2=1.15.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/defs.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.97.2.2&r2=1.97.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.66.4.12&r2=1.66.4.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/f-lang.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.3&r2=1.3.24.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/f-typeprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.8&r2=1.8.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.58.2.4&r2=1.58.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.36.2.3&r2=1.36.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/jv-lang.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.12.8.6&r2=1.12.8.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/jv-lang.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.4&r2=1.4.16.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/jv-typeprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.6&r2=1.6.16.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/jv-valprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.11&r2=1.11.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/language.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.28.2.2&r2=1.28.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/language.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.13.2.1&r2=1.13.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/linespec.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.22.2.11&r2=1.22.2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/m2-lang.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.3&r2=1.3.24.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/m2-typeprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.5&r2=1.5.24.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/p-lang.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.4&r2=1.4.14.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/p-typeprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.10&r2=1.10.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/p-valprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.14.2.1&r2=1.14.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/printcmd.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.43.2.5&r2=1.43.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/stabsread.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.41.2.3&r2=1.41.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/stack.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.43.2.5&r2=1.43.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.69.2.7&r2=1.69.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symtab.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.70.2.19&r2=1.70.2.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symtab.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.42.2.12&r2=1.42.2.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/typeprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.12.8.1&r2=1.12.8.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/utils.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.80.2.3&r2=1.80.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valarith.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.16&r2=1.16.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valops.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.75.2.6&r2=1.75.2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/value.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.36.2.2&r2=1.36.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.402.2.13&r2=1.402.2.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/carlton_runnamespace.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.3&r2=1.1.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/carlton_runtest.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.2&r2=1.1.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/m-data.cc.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1&r2=1.1.12.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/m-data.exp.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1&r2=1.1.12.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/m-static.cc.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.2&r2=1.2.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/m-static1.cc.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/namespace.cc.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.24.3&r2=1.1.24.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/namespace.exp.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.12.16.7&r2=1.12.16.8