This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in block.c block.h ...
- From: carlton at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 23 Nov 2002 00:42:55 -0000
- Subject: src/gdb ChangeLog Makefile.in block.c block.h ...
CVSROOT: /cvs/src
Module name: src
Branch: carlton_dictionary-branch
Changes by: carlton@sourceware.org 2002-11-22 16:42:55
Modified files:
gdb : ChangeLog Makefile.in block.c block.h
blockframe.c c-exp.y cp-support.c eval.c
expprint.c expression.h findvar.c frame.h
jv-exp.y linespec.c objc-exp.y p-exp.y parse.c
symtab.c symtab.h valops.c value.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.c++: namespace.exp
Log message:
2002-11-22 David Carlton <carlton@math.stanford.edu>
* linespec.c (examine_compound_token): Rewrite as switch
statement, and add FIXME comment.
* frame.h: Make arg of block_innermost_frame const.
* blockframe.c (block_innermost_frame): Make arg const.
* block.h: Make args to block_function, contained_in const.
* block.c (block_function): Make arg const.
(contained_in): Ditto.
* value.h: Make arg of symbol_read_needs_frame const.
* findvar.c (symbol_read_needs_frame): Make arg const.
* symtab.h: Make first arg of symbol_demangled_name const.
* symtab.c (symbol_demangled_name): Make arg const.
* value.h: Make first arg of read_var_value const.
* findvar.c (read_var_value): Make first arg const.
* Makefile.in (valops.o): Depend on cp_support_h.
* valops.c: #include "cp-support.h"
* symtab.h: Add FIXME about name of namespace_enum.
Add opaque declaration of struct using_direct_node.
* symtab.c (lookup_symbol_namespace): Make extern; rename args.
* symtab.h: Declare lookup_symbol_namespace.
* valops.c (value_struct_elt_for_reference): Make 'name' a const
char *.
(value_namespace_elt): New function.
* expprint.c (print_subexp): Ditto.
(dump_subexp): Ditto.
* parse.c (length_of_subexp): Ditto.
(prefixify_subexp): Ditto.
* expression.h: Update comment to reflect the block in OP_SCOPE.
* c-exp.y: Set block in OP_SCOPE expression.
* jv-exp.y (push_qualified_expression_name): Put a NULL block in
OP_SCOPE expression.
* objc-exp.y: Ditto.
* p-exp.y: Ditto.
* eval.c (evaluate_subexp_standard): Handle OP_SCOPE via
value_aggregate_elt.
* value.h: Add declaration for value_aggregate_elt; delete
declaration for value_struct_elt_for_reference.
* valops.c (value_aggregate_elt): New function.
(value_struct_elt_for_reference): Make static. Don't check type
of curtype.
* c-exp.y: Accept TYPE_CODE_NAMESPACE in qualified_name.
* cp-support.c (cp_check_namespace_symbol): Set TYPE_NAME (type).
2002-11-22 David Carlton <carlton@math.stanford.edu>
* gdb.c++/namespace.exp: Change a couple of tests to not use
single quotes.
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.31&r2=1.3256.2.32
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.262.2.19&r2=1.262.2.20
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.4&r2=1.1.2.5
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.4&r2=1.1.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/blockframe.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.40.2.4&r2=1.40.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.15.2.3&r2=1.15.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-support.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.7&r2=1.1.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/eval.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.23.8.1&r2=1.23.8.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/expprint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.8.8.2&r2=1.8.8.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/expression.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.6.2.1&r2=1.6.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/findvar.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.35.8.3&r2=1.35.8.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.24.2.3&r2=1.24.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/jv-exp.y.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.11.2.2&r2=1.11.2.3
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.10&r2=1.22.2.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/objc-exp.y.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.3.2.3&r2=1.3.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/p-exp.y.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.15.2.3&r2=1.15.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/parse.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.27.2.3&r2=1.27.2.4
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.18&r2=1.70.2.19
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.11&r2=1.42.2.12
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.4&r2=1.75.2.5
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.1&r2=1.36.2.2
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.11&r2=1.402.2.12
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.5&r2=1.12.16.6