]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
20 years ago2004-01-26 David Carlton <carlton@kealia.com> carlton_dictionary-branch
David Carlton [Mon, 26 Jan 2004 19:11:55 +0000 (19:11 +0000)] 
2004-01-26  David Carlton  <carlton@kealia.com>

* Merge with mainline; tag is carlton_dictionary-20040126-merge.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Mon, 26 Jan 2004 12:52:12 +0000 (12:52 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2004-01-26 12:52:10 UTC DJ Delorie <dj@redhat.com> 'merge from gcc':
    bfd/ChangeLog-0203
    bfd/doc/ChangeLog-9103
    gdb/ChangeLog-2003
    gdb/config/sparc/linux64.mh
    gdb/config/sparc/linux64.mt
    gdb/config/sparc/nm-sol2.h
    gdb/config/sparc/obsd.mt
    gdb/config/sparc/obsd64.mt
    gdb/config/sparc/sol2-64.mt
    gdb/config/sparc/sol2.mh
    gdb/config/sparc/sol2.mt
    gdb/config/sparc/sparc.mt
    gdb/config/sparc/sparc64.mt
    gdb/config/sparc/tm-sol2.h
    gdb/config/sparc/tm-vxworks.h
    gdb/config/sparc/vxworks.mt
    gdb/mi/ChangeLog-1999-2003
    gdb/sparc-linux-tdep.c
    gdb/sparc-nat.h
    gdb/sparc-sol2-nat.c
    gdb/sparc-sol2-tdep.c
    gdb/sparc64-linux-nat.c
    gdb/sparc64-linux-tdep.c
    gdb/sparc64-nat.c
    gdb/sparc64-sol2-tdep.c
    gdb/sparc64nbsd-tdep.c
    gdb/sparc64obsd-tdep.c
    gdb/sparcobsd-tdep.c
    gdb/testsuite/gdb.base/gdb1476.c
    gdb/testsuite/gdb.base/gdb1476.exp
    gdb/testsuite/gdb.base/sepdebug.c
    gdb/testsuite/gdb.base/sepdebug.exp
    gdb/testsuite/gdb.cp/bs15503.cc
    gdb/testsuite/gdb.cp/bs15503.exp
    gdb/testsuite/gdb.cp/exception.cc
    gdb/testsuite/gdb.cp/exception.exp
    gdb/testsuite/gdb.mi/ChangeLog-1999-2003
    gdb/tui/ChangeLog-1998-2003
    gdb/tui/tui-command.c
    gdb/tui/tui-command.h
    gdb/tui/tui-data.c
    gdb/tui/tui-data.h
    gdb/tui/tui-disasm.c
    gdb/tui/tui-disasm.h
    gdb/tui/tui-io.c
    gdb/tui/tui-io.h
    gdb/tui/tui-layout.c
    gdb/tui/tui-layout.h
    gdb/tui/tui-regs.c
    gdb/tui/tui-regs.h
    gdb/tui/tui-source.c
    gdb/tui/tui-source.h
    gdb/tui/tui-stack.c
    gdb/tui/tui-stack.h
    gdb/tui/tui-win.c
    gdb/tui/tui-win.h
    gdb/tui/tui-windata.c
    gdb/tui/tui-windata.h
    gdb/tui/tui-wingeneral.c
    gdb/tui/tui-wingeneral.h
    gdb/tui/tui-winsource.c
    gdb/tui/tui-winsource.h
    include/ChangeLog-9103
    include/coff/ChangeLog-9103
    include/elf/ChangeLog-9103
    include/opcode/ChangeLog-9103
    libiberty/configure.ac
    libiberty/cp-demangle.h
    libiberty/cp-demint.c
    opcodes/ChangeLog-0001
    opcodes/ChangeLog-0203
    sim/m32r/syscall.h
    sim/m32r/traps-linux.c

20 years ago2003-12-15 David Carlton <carlton@kealia.com>
David Carlton [Tue, 16 Dec 2003 00:01:26 +0000 (00:01 +0000)] 
2003-12-15  David Carlton  <carlton@kealia.com>

* Merge with mainline; tag is carlton_dictionary-20031215-merge.
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS to call
to cplus_demangle.
(method_name_from_physname): Ditto.

20 years agoFix comment in last commit.
David Carlton [Mon, 15 Dec 2003 21:28:54 +0000 (21:28 +0000)] 
Fix comment in last commit.

20 years ago2003-12-15 David Carlton <carlton@kealia.com>
David Carlton [Mon, 15 Dec 2003 21:16:06 +0000 (21:16 +0000)] 
2003-12-15  David Carlton  <carlton@kealia.com>

* dwarf2read.c (get_scope_pc_bounds): New.
(psymtab_to_symtab_1): Use get_scope_pc_bounds.
(read_file_scope): Ditto.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Sat, 13 Dec 2003 20:12:32 +0000 (20:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-12-13 20:12:31 UTC Jim Blandy <jimb@codesourcery.com> '* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.':
    bfd/po/ro.po
    gdb/config/arm/tm-nbsd.h
    gdb/libunwind-frame.c
    gdb/libunwind-frame.h
    gdb/testsuite/gdb.arch/i386-unwind.c
    gdb/testsuite/gdb.arch/i386-unwind.exp
    gdb/testsuite/gdb.asm/empty.inc
    gdb/testsuite/gdb.asm/frv.inc
    gdb/testsuite/gdb.asm/netbsd.inc
    gdb/testsuite/gdb.base/break1.c
    gdb/testsuite/gdb.base/freebpcmd.c
    gdb/testsuite/gdb.base/freebpcmd.exp
    gdb/testsuite/gdb.cp/class2.cc
    gdb/testsuite/gdb.cp/class2.exp
    sim/m32r/cpu2.c
    sim/m32r/cpu2.h
    sim/m32r/decode2.c
    sim/m32r/decode2.h
    sim/m32r/m32r2.c
    sim/m32r/mloop2.in
    sim/m32r/model2.c
    sim/m32r/sem2-switch.c

20 years ago2003-11-11 David Carlton <carlton@kealia.com>
David Carlton [Wed, 12 Nov 2003 00:41:59 +0000 (00:41 +0000)] 
2003-11-11  David Carlton  <carlton@kealia.com>

* gdb.cp/namespace.exp: KFAIL various tests with respect to PR
gdb/1448.  Change existing setup_kfails to refer to gdb/XXX
instead of c++/XXX.

20 years ago2003-11-11 David Carlton <carlton@kealia.com>
David Carlton [Wed, 12 Nov 2003 00:20:59 +0000 (00:20 +0000)] 
2003-11-11  David Carlton  <carlton@kealia.com>

* valops.c: Tweak comments to match proposed patch.
(value_aggregate_elt): Use internal_error instead of error.
* dwarf2read.c: Tweak comments to match proposed patch.
(new_symbol): Use SYMBOL_LINKAGE_NAME or SYMBOL_NATURAL_NAME
instead of DEPRECATED_SYMBOL_NAME.
* cp-namespace.c: Tweak comments to match proposed patch.
(cp_set_block_scope): Remove #if 0.
(cp_lookup_nested_type): Use internal_error instead of error.

2003-11-11  David Carlton  <carlton@kealia.com>

* gdb.cp/namespace.exp: Remove doubled comment.

20 years ago2003-11-11 David Carlton <carlton@kealia.com>
David Carlton [Tue, 11 Nov 2003 23:51:22 +0000 (23:51 +0000)] 
2003-11-11  David Carlton  <carlton@kealia.com>

* Merge with mainline; tag is carlton-dictionary-20031111-merge.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Mon, 10 Nov 2003 21:20:45 +0000 (21:20 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-11-10 21:20:44 UTC Andrew Cagney <cagney@redhat.com> '2003-11-10  Andrew Cagney  <cagney@redhat.com>':
    gdb/amd64bsd-nat.c
    gdb/amd64nbsd-nat.c
    gdb/amd64nbsd-tdep.c
    gdb/bfd-target.c
    gdb/bfd-target.h
    gdb/config/i386/nbsd64.mh
    gdb/config/i386/nbsd64.mt
    gdb/exec.h
    gdb/glibc-tdep.c
    gdb/glibc-tdep.h
    gdb/i386fbsd-tdep.c
    gdb/regset.h
    gdb/remote-m32r-sdi.c
    gdb/testsuite/gdb.arch/gdb1291.c
    gdb/testsuite/gdb.arch/gdb1291.exp
    gdb/testsuite/gdb.arch/gdb1431.c
    gdb/testsuite/gdb.arch/gdb1431.exp
    gdb/testsuite/gdb.base/gdb1056.exp
    gdb/testsuite/gdb.cp/gdb1355.cc
    gdb/testsuite/gdb.cp/gdb1355.exp
    gdb/testsuite/gdb.threads/switch-threads.c
    gdb/testsuite/gdb.threads/switch-threads.exp
    include/gdb/sim-frv.h

20 years ago2003-09-30 David Carlton <carlton@kealia.com>
David Carlton [Tue, 30 Sep 2003 18:16:07 +0000 (18:16 +0000)] 
2003-09-30  David Carlton  <carlton@kealia.com>

* Makefile.in (c-exp.tab.o): Depend on cp_support_h.
* c-exp.y: Include c-exp.y.  Update comments, replace
lookup_nested_type by cp_lookup_nested_type.
(yylex): Update comments, remove #if 0 block.
* cp-namespace.c (cp_lookup_nested_type): Move here from symtab.c;
rename from lookup_nested_type.
* cp-support.h: Add cp_lookup_nested_type declaration.
* dwarf2read.c (read_die_and_children): Update comment.
(read_die_and_siblings): Update comment, move declaration of
'die'.
(read_full_die): Update comment, tweak formatting.
* symtab.c (lookup_nested_type): Move to cp-namespace.c, rename to
cp_lookup_nested_type.
* symtab.h: Delete declaration of lookup_nested_type.

20 years ago2003-09-19 David Carlton <carlton@kealia.com>
David Carlton [Sat, 20 Sep 2003 00:32:31 +0000 (00:32 +0000)] 
2003-09-19  David Carlton  <carlton@kealia.com>

* expression.h (enum exp_opcode): Revert to mainline's OP_FUNCALL,
OP_SCOPE.
* ada-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto.
* jv-exp.y (push_qualified_expression_name): Ditto.
* ada-lang.c (ada_resolve_subexp, replace_operator_with_call)
(ada_evaluate_subexp): Ditto.
* eval.c (evaluate_subexp_standard): Ditto.
* expprint.c (print_subexp, dump_subexp): Ditto.
* parse.c (length_of_subexp, prefixify_subexp): Ditto.
* c-exp.y: Ditto, and add comment.
* cp-support.c (make_symbol_overload_list): Delete 'block'
argument; change calls to make_symbol_overload_list_using
appropriately.
(make_symbol_overload_list_using): Delete 'block' argument;
replace it by get_selected_block (0).
* cp-support.h: Delete 'block' argument from
make_symbol_overload_list.
* valops.c (find_overload_match): Delete 'block' argument, and
update calls using it.
(find_oload_champ_namespace, find_oload_champ_namespace_loop)
(value_aggregate_elt, value_struct_elt_for_reference)
(value_namespace_elt): Ditto.
(value_maybe_namespace_elt): Delete 'block' argument, and use
get_selected_block (0) instead.
* value.h: Delete 'block' argument from value_struct_elt,
value_find_oload.

20 years ago2003-09-17 David Carlton <carlton@kealia.com>
David Carlton [Wed, 17 Sep 2003 21:29:05 +0000 (21:29 +0000)] 
2003-09-17  David Carlton  <carlton@kealia.com>

* Merge with mainline; tag is carlton_dictionary-20030917-merge.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Wed, 17 Sep 2003 15:42:22 +0000 (15:42 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-09-17 15:42:21 UTC Andrew Cagney <cagney@redhat.com> '2003-09-17  Andrew Cagney  <cagney@redhat.com>':
    gdb/sh64-tdep.c
    gdb/sparc64-tdep.c
    gdb/testsuite/gdb.arch/i386-prologue.exp
    gdb/testsuite/gdb.asm/sh.inc
    opcodes/dis-init.c

20 years ago2003-09-12 David Carlton <carlton@kealia.com>
David Carlton [Sat, 13 Sep 2003 00:33:37 +0000 (00:33 +0000)] 
2003-09-12  David Carlton  <carlton@kealia.com>

* carlton_runnamespace (TESTS): Fix typo in gdb.c++->gdb.cp
transition.

20 years ago2003-08-22 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 30 Aug 2003 03:43:19 +0000 (03:43 +0000)] 
2003-08-22  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*.
Add lines for files in gdb/testsuite/gdb.cp/* that are
still not 8.3 unique.

20 years ago2003-08-22 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 30 Aug 2003 03:40:35 +0000 (03:40 +0000)] 
2003-08-22  Michael Chastain  <mec@shout.net>

* gdb.cp: New directory.
* gdb.cp/*: Copy from gdb.c++/*.
* gdb.c++/*: Remove.
* Makefile.in: Change gdb.c++ to gdb.cp.
* configure.in:  Ditto.
* carlton_runnamespace: Ditto.
* carlton_runtest: Ditto.
* configure: Regnerate.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Fri, 29 Aug 2003 17:18:28 +0000 (17:18 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-08-29 17:18:27 UTC Mark Kettenis <kettenis@gnu.org> '* amd64-nat.h (struct regcache): Add opaque declaration.':
    config/no-executables.m4
    gdb/amd64-nat.c
    gdb/amd64-nat.h
    gdb/hppa-tdep.h
    gdb/sparc64-tdep.h
    gdb/sparc64fbsd-nat.c
    gdb/sparc64fbsd-tdep.c
    gdb/sparcbsd-nat.c
    gdb/sparcbsd-nat.h
    gdb/testsuite/gdb.arch/i386-prologue.c
    gdb/testsuite/gdb.asm/ia64.inc
    gdb/testsuite/gdb.cp/Makefile.in
    gdb/testsuite/gdb.cp/ambiguous.cc
    gdb/testsuite/gdb.cp/ambiguous.exp
    gdb/testsuite/gdb.cp/annota2.cc
    gdb/testsuite/gdb.cp/annota2.exp
    gdb/testsuite/gdb.cp/annota3.cc
    gdb/testsuite/gdb.cp/annota3.exp
    gdb/testsuite/gdb.cp/anon-union.cc
    gdb/testsuite/gdb.cp/anon-union.exp
    gdb/testsuite/gdb.cp/casts.cc
    gdb/testsuite/gdb.cp/casts.exp
    gdb/testsuite/gdb.cp/classes.exp
    gdb/testsuite/gdb.cp/cplusfuncs.cc
    gdb/testsuite/gdb.cp/cplusfuncs.exp
    gdb/testsuite/gdb.cp/ctti.exp
    gdb/testsuite/gdb.cp/cttiadd.cc
    gdb/testsuite/gdb.cp/cttiadd1.cc
    gdb/testsuite/gdb.cp/cttiadd2.cc
    gdb/testsuite/gdb.cp/cttiadd3.cc
    gdb/testsuite/gdb.cp/demangle.exp
    gdb/testsuite/gdb.cp/derivation.cc
    gdb/testsuite/gdb.cp/derivation.exp
    gdb/testsuite/gdb.cp/hang.H
    gdb/testsuite/gdb.cp/hang.exp
    gdb/testsuite/gdb.cp/hang1.C
    gdb/testsuite/gdb.cp/hang2.C
    gdb/testsuite/gdb.cp/hang3.C
    gdb/testsuite/gdb.cp/inherit.exp
    gdb/testsuite/gdb.cp/local.cc
    gdb/testsuite/gdb.cp/local.exp
    gdb/testsuite/gdb.cp/m-data.cc
    gdb/testsuite/gdb.cp/m-data.exp
    gdb/testsuite/gdb.cp/m-static.cc
    gdb/testsuite/gdb.cp/m-static.exp
    gdb/testsuite/gdb.cp/m-static.h
    gdb/testsuite/gdb.cp/m-static1.cc
    gdb/testsuite/gdb.cp/maint.exp
    gdb/testsuite/gdb.cp/member-ptr.cc
    gdb/testsuite/gdb.cp/member-ptr.exp
    gdb/testsuite/gdb.cp/method.cc
    gdb/testsuite/gdb.cp/method.exp
    gdb/testsuite/gdb.cp/misc.cc
    gdb/testsuite/gdb.cp/misc.exp
    gdb/testsuite/gdb.cp/namespace.cc
    gdb/testsuite/gdb.cp/namespace.exp
    gdb/testsuite/gdb.cp/namespace1.cc
    gdb/testsuite/gdb.cp/overload.cc
    gdb/testsuite/gdb.cp/overload.exp
    gdb/testsuite/gdb.cp/ovldbreak.cc
    gdb/testsuite/gdb.cp/ovldbreak.exp
    gdb/testsuite/gdb.cp/pr-1023.cc
    gdb/testsuite/gdb.cp/pr-1023.exp
    gdb/testsuite/gdb.cp/pr-1210.cc
    gdb/testsuite/gdb.cp/pr-1210.exp
    gdb/testsuite/gdb.cp/pr-574.cc
    gdb/testsuite/gdb.cp/pr-574.exp
    gdb/testsuite/gdb.cp/printmethod.cc
    gdb/testsuite/gdb.cp/printmethod.exp
    gdb/testsuite/gdb.cp/psmang.exp
    gdb/testsuite/gdb.cp/psmang1.cc
    gdb/testsuite/gdb.cp/psmang2.cc
    gdb/testsuite/gdb.cp/ref-types.cc
    gdb/testsuite/gdb.cp/ref-types.exp
    gdb/testsuite/gdb.cp/rtti.exp
    gdb/testsuite/gdb.cp/rtti.h
    gdb/testsuite/gdb.cp/rtti1.cc
    gdb/testsuite/gdb.cp/rtti2.cc
    gdb/testsuite/gdb.cp/templates.cc
    gdb/testsuite/gdb.cp/templates.exp
    gdb/testsuite/gdb.cp/try_catch.cc
    gdb/testsuite/gdb.cp/try_catch.exp
    gdb/testsuite/gdb.cp/userdef.cc
    gdb/testsuite/gdb.cp/userdef.exp
    gdb/testsuite/gdb.cp/virtfunc.cc
    gdb/testsuite/gdb.cp/virtfunc.exp
    gdb/testsuite/gdb.mi/mi2-basics.exp
    gdb/testsuite/gdb.mi/mi2-break.exp
    gdb/testsuite/gdb.mi/mi2-cli.exp
    gdb/testsuite/gdb.mi/mi2-console.exp
    gdb/testsuite/gdb.mi/mi2-disassemble.exp
    gdb/testsuite/gdb.mi/mi2-eval.exp
    gdb/testsuite/gdb.mi/mi2-file.exp
    gdb/testsuite/gdb.mi/mi2-hack-cli.exp
    gdb/testsuite/gdb.mi/mi2-pthreads.exp
    gdb/testsuite/gdb.mi/mi2-read-memory.exp
    gdb/testsuite/gdb.mi/mi2-regs.exp
    gdb/testsuite/gdb.mi/mi2-return.exp
    gdb/testsuite/gdb.mi/mi2-simplerun.exp
    gdb/testsuite/gdb.mi/mi2-stack.exp
    gdb/testsuite/gdb.mi/mi2-stepi.exp
    gdb/testsuite/gdb.mi/mi2-syn-frame.exp
    gdb/testsuite/gdb.mi/mi2-until.exp
    gdb/testsuite/gdb.mi/mi2-var-block.exp
    gdb/testsuite/gdb.mi/mi2-var-child.exp
    gdb/testsuite/gdb.mi/mi2-var-cmd.exp
    gdb/testsuite/gdb.mi/mi2-var-display.exp
    gdb/testsuite/gdb.mi/mi2-watch.exp

20 years ago2003-08-05 David Carlton <carlton@kealia.com>
David Carlton [Tue, 5 Aug 2003 17:13:34 +0000 (17:13 +0000)] 
2003-08-05  David Carlton  <carlton@kealia.com>

* configure.in (build_warnings): Delete -Wformat-nonliteral.
* configure (build_warnings): Ditto.

* Merge with mainline; tag is carlton_dictionary-20030805-merge.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Tue, 5 Aug 2003 09:39:32 +0000 (09:39 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-08-05 09:39:31 UTC Nick Clifton <nickc@redhat.com> 'Add new Dutch translation.':
    bfd/elf32-am33lin.c
    config/gettext.m4
    config/progtest.m4
    gdb/amd64fbsd-nat.c
    gdb/amd64fbsd-tdep.c
    gdb/cli/cli-logging.c
    gdb/config/i386/fbsd64.mh
    gdb/config/i386/fbsd64.mt
    gdb/config/i386/nm-fbsd64.h
    gdb/config/i386/nm-nto.h
    gdb/config/i386/nto.mh
    gdb/doc/annotate.texinfo
    gdb/nto-procfs.c
    gdb/sparc-tdep.h
    gdb/testsuite/gdb.asm/m68k.inc
    gdb/testsuite/gdb.base/annota3.c
    gdb/testsuite/gdb.base/annota3.exp
    gdb/testsuite/gdb.base/complex.c
    gdb/testsuite/gdb.base/complex.exp
    gdb/testsuite/gdb.base/gdb1250.c
    gdb/testsuite/gdb.base/gdb1250.exp
    gdb/testsuite/gdb.c++/annota3.cc
    gdb/testsuite/gdb.c++/annota3.exp
    gdb/testsuite/gdb.disasm/t01_mov.exp
    gdb/testsuite/gdb.disasm/t01_mov.s
    gdb/testsuite/gdb.disasm/t02_mova.exp
    gdb/testsuite/gdb.disasm/t02_mova.s
    gdb/testsuite/gdb.disasm/t03_add.exp
    gdb/testsuite/gdb.disasm/t03_add.s
    gdb/testsuite/gdb.disasm/t04_sub.exp
    gdb/testsuite/gdb.disasm/t04_sub.s
    gdb/testsuite/gdb.disasm/t05_cmp.exp
    gdb/testsuite/gdb.disasm/t05_cmp.s
    gdb/testsuite/gdb.disasm/t06_ari2.exp
    gdb/testsuite/gdb.disasm/t06_ari2.s
    gdb/testsuite/gdb.disasm/t07_ari3.exp
    gdb/testsuite/gdb.disasm/t07_ari3.s
    gdb/testsuite/gdb.disasm/t08_or.exp
    gdb/testsuite/gdb.disasm/t08_or.s
    gdb/testsuite/gdb.disasm/t09_xor.exp
    gdb/testsuite/gdb.disasm/t09_xor.s
    gdb/testsuite/gdb.disasm/t10_and.exp
    gdb/testsuite/gdb.disasm/t10_and.s
    gdb/testsuite/gdb.disasm/t11_logs.exp
    gdb/testsuite/gdb.disasm/t11_logs.s
    gdb/testsuite/gdb.disasm/t12_bit.exp
    gdb/testsuite/gdb.disasm/t12_bit.s
    gdb/testsuite/gdb.disasm/t13_otr.exp
    gdb/testsuite/gdb.disasm/t13_otr.s
    gdb/testsuite/gdb.threads/tls-main.c
    gdb/testsuite/gdb.threads/tls-shared.c
    gdb/testsuite/gdb.threads/tls-shared.exp
    gdb/testsuite/gdb.threads/tls.c
    gdb/testsuite/gdb.threads/tls.exp
    gdb/user-regs.c
    gdb/user-regs.h
    gdb/x86-64-linux-tdep.h
    opcodes/po/nl.po

20 years ago2003-06-27 David Carlton <carlton@kealia.com>
David Carlton [Fri, 27 Jun 2003 22:47:33 +0000 (22:47 +0000)] 
2003-06-27  David Carlton  <carlton@kealia.com>

* dwarf2read.c (add_partial_symbol): Add 'objfile' argument to
call to cp_check_possible_namespace_symbols.
(add_partial_namespace): Add partial symbol instead of calling
cp_check_namespace_symbol.
(read_namespace): Add symbol associated to namespace.
(new_symbol): Handle DW_TAG_namespace.
* cp-support.h: Delete declaration of cp_check_namespace_symbol;
add 'objfile' argument to declaration of
cp_check_possible_namespace_symbols.
* cp-namespace.c: Delete variables namespace_block,
possible_namespace_block, namespace_objfile.
Delete functions get_namespace_block, get_namespace_objfile,
cp_check_namespace_symbol, check_namespace_symbol_block,
lookup_namespace_symbol.
(lookup_symbol_file): Delete call to lookup_namespace_symbol;
tweak call to lookup_possible_namespace_symbol.
(initialize_namespace_symtab): Rename from
initialize_namespace_blocks; add 'objfile' argument, don't do
anything special with global block.
(get_possible_namespace_block): Add 'objfile' argument.
(check_possible_namespace_symbols_loop)
(cp_check_possible_namespace_symbols): Ditto.
(free_namespace_block): Rename from free_namespace_blocks; don't
do anything special with global block.
(check_one_possible_namespace_symbol): Add 'objfile' argument, and
inline call to check_namespace_symbol_block.
(lookup_possible_namespace_symbol): Add 'symtab' argument, loop
over all objfiles.
(maintenance_cplus_namespace): Only have possible symbols; add
loop over objfiles.
(_initialize_cp_namespace): Tweak doc string.
* objfiles.h: Add opaque declaration of struct symtab.
(struct objfile): Add cp_namespace_symtab member.
* objfiles.c (allocate_objfile): Set
objfile->cp_namespace_symtab.

2003-06-27  David Carlton  <carlton@kealia.com>

* carlton_runtest (FASTTESTS): Add gdb.c++/pr-1210.exp.
* gdb.c++/namespace.exp: Delete test for maint cp namespace.
* gdb.c++/maint.exp (test_help): Tweak output for 'help maint cp
namespace'.
(test_namespace): Tweak comment.

20 years ago2003-06-27 David Carlton <carlton@kealia.com>
David Carlton [Fri, 27 Jun 2003 21:50:37 +0000 (21:50 +0000)] 
2003-06-27  David Carlton  <carlton@kealia.com>

* Merge with mainline; tag is carlton_dictionary-20030627-merge.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Fri, 27 Jun 2003 17:05:59 +0000 (17:05 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-06-27 17:05:58 UTC Elena Zannoni <ezannoni@kwikemart.cygnus.com> '2003-06-27  Elena Zannoni  <ezannoni@redhat.com>':
    gdb/alpha-mdebug-tdep.c
    gdb/config/mips/mips.mt
    gdb/config/mips/mips64.mt
    gdb/config/powerpc/nm-ppc64-linux.h
    gdb/config/powerpc/ppc64-linux.mh
    gdb/dwarf2-frame.c
    gdb/dwarf2-frame.h
    gdb/linux-nat.c
    gdb/linux-nat.h
    gdb/remote-fileio.c
    gdb/remote-fileio.h
    gdb/stack.h
    gdb/testsuite/gdb.asm/alpha.inc
    gdb/testsuite/gdb.base/bang.exp
    gdb/testsuite/gdb.base/fileio.c
    gdb/testsuite/gdb.base/fileio.exp
    gdb/testsuite/gdb.base/gdb_history
    gdb/testsuite/gdb.base/shreloc.c
    gdb/testsuite/gdb.base/shreloc.exp
    gdb/testsuite/gdb.base/shreloc1.c
    gdb/testsuite/gdb.base/shreloc2.c
    gdb/testsuite/gdb.c++/pr-1210.cc
    gdb/testsuite/gdb.c++/pr-1210.exp
    gdb/trad-frame.c
    gdb/trad-frame.h
    include/gdb/fileio.h
    sim/h8300/sim-main.h
    sim/ppc/altivec.igen
    sim/ppc/altivec_expression.h
    sim/ppc/altivec_registers.h
    sim/ppc/e500.igen
    sim/ppc/e500_expression.h
    sim/ppc/e500_registers.h

20 years ago2003-06-16 David Carlton <carlton@kealia.com>
David Carlton [Mon, 16 Jun 2003 20:00:46 +0000 (20:00 +0000)] 
2003-06-16  David Carlton  <carlton@kealia.com>

* symfile.h: Change formatting.
* block.c (allocate_block): Rephrase comment.
* block.h (BLOCK_GCC_COMPILED): Move definition.
* cp-namespace.c: Include command.h instead of gdbcmd.h.  Update
comments, reorder functions.
(lookup_symbol_file): Set symtab when looking for namespace
symbols.  Update call to lookup_possible_namespace_symbol.
(initialize_namespace_blocks): Change comment.
(get_namespace_objfile): Change objfile name.
(cp_check_namespace_symbol): Extract body into
check_namespace_symbol_block.
(check_namespace_symbol_block): New.
(lookup_namespace_symbol): Make static, rename from
cp_lookup_symbol.
(check_possible_namespace_symbols_loop): Update comment.
(check_one_possible_namespace_symbol): Call
check_namespace_symbol_block.
(lookup_possible_namespace_symbol): Make static; rename from
cp_lookup_possible_namespace_symbol.
* cp-support.h: Update declarations.
* Makefile.in (c-typeprint.o): Don't depend on gdb_assert_h.
(cp-namespace.o): Depend on command_h, not gdbcmd_h.
* c-typeprint.c: Don't include gdb_assert.h.
(c_type_print_base): Delete assertion.  Use TYPE_TAG_NAME.
* dwarf2read.c: Delete double include of cp-support.h.
(add_partial_symbol): Look at psym for static variables.
(add_partial_namespace): Update call to
cp_check_namespace_symbol.
(locate_pdi_sibling): Update comment.

2003-06-16  David Carlton  <carlton@kealia.com>

* gdb.c++/namespace.exp: Add 'maint cp namespace' test.
* gdb.c++/maint.exp (test_namespace): Change comment.

20 years ago2003-06-12 David Carlton <carlton@kealia.com>
David Carlton [Thu, 12 Jun 2003 18:45:48 +0000 (18:45 +0000)] 
2003-06-12  David Carlton  <carlton@kealia.com>

* dwarf2read.c (die_specification): New.
(determine_prefix): Fix memory management.
(read_structure_scope): Set prefix correctly if getting type via
specification.

20 years ago2003-05-28 David Carlton <carlton@bactrian.org>
David Carlton [Thu, 29 May 2003 00:01:36 +0000 (00:01 +0000)] 
2003-05-28  David Carlton  <carlton@bactrian.org>

* dwarf2read.c (add_partial_structure): When looking for a
subprogram child, go sibling by sibling.

20 years ago2003-05-28 David Carlton <carlton@bactrian.org>
David Carlton [Wed, 28 May 2003 22:31:11 +0000 (22:31 +0000)] 
2003-05-28  David Carlton  <carlton@bactrian.org>

* dwarf2read.c (determine_prefix): Handle anonymous
classes/structures.

20 years ago2003-05-23 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 23 May 2003 22:28:54 +0000 (22:28 +0000)] 
2003-05-23  David Carlton  <carlton@bactrian.org>

* Makefile.in (cp-namespace.o): Depend on frame_h.
* cp-support.h: Declare lookup_transparent_type_namespace,
lookup_transparent_type_namespace_loop.
* cp-namespace.c: Include frame.h.
(lookup_transparent_type_namespace): New.
(lookup_transparent_type_namespace_loop): New.
* symtab.h: Declare lookup_transparent_type_aux.
* symtab.c (lookup_transparent_type): Add FIXME, fork off code
into lookup_transparent_type_aux, do backup strategy of trying to
look in namespaces.
(lookup_transparent_type_aux): New.

20 years ago2003-05-23 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 23 May 2003 18:40:58 +0000 (18:40 +0000)] 
2003-05-23  David Carlton  <carlton@bactrian.org>

* Merge with mainline; tag is carlton_dictionary-20030523-merge.

20 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Tue, 20 May 2003 21:35:29 +0000 (21:35 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-05-20 21:35:28 UTC Kris Warkentin <kewarken@qnx.com> 'Fix regset numbering.':
    gdb/config/i386/nto.mt
    gdb/config/i386/tm-nto.h
    gdb/config/tm-nto.h
    gdb/i386-nto-tdep.c
    gdb/mi/mi-symbol-cmds.c
    gdb/nto-tdep.c
    gdb/nto-tdep.h
    gdb/testsuite/gdb.asm/s390x.inc
    gdb/testsuite/gdb.mi/mi1-symbol.exp
    opcodes/po/ro.po

20 years ago2003-05-16 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 16 May 2003 23:32:27 +0000 (23:32 +0000)] 
2003-05-16  David Carlton  <carlton@bactrian.org>

* dwarf2read.c (read_comp_unit): Separate code out into
read_die_and_children and read_die_and_siblings.
(read_die_and_children): New.
(read_die_and_siblings): New.
(read_full_die): Add HAS_CHILDREN argument.
struct die_info: Delete HAS_CHILDREN, NEXT members; add CHILD,
SIBLING, PARENT members.
(psymtab_to_symtab_1): Use new members of struct die_info.
(process_die, read_file_scope, read_func_scope)
(read_lexical_block_scope, read_structure_scope, read_enumeration)
(read_array_type, read_common_block, read_namespace)
(read_subroutine_type, read_die_and_children, free_die_list)
(dump_die, dump_die_list): Ditto.
(read_namespace): Separate code out into namespace_name.
(namespace_name): New.
(typename_concat): New.
(determine_prefix): New.
(read_type_die): Set prefix appropriately.
(class_name): New.

2003-05-16  David Carlton  <carlton@bactrian.org>

* gdb.c++/rtti.exp: Convert the gdb/488 kfail into a fail, and
delete the <.*BaseN> branches.

20 years ago2003-05-16 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 16 May 2003 16:10:54 +0000 (16:10 +0000)] 
2003-05-16  David Carlton  <carlton@bactrian.org>

* carlton_runnamespace: Run gdb.c++/rtti.exp, too.
* carlton_runtest (FASTTESTS): Add gdb.c++/breakpoint.exp and
gdb.c++/rtti.exp.
* gdb.c++/breakpoint.exp (test_breakpoint): Run to main for every
breakpoint.
* gdb.c++/rtti.exp: Add more KFAIL branches.

21 years ago2003-05-09 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 9 May 2003 18:28:53 +0000 (18:28 +0000)] 
2003-05-09  David Carlton  <carlton@bactrian.org>

* linespec.c (examine_compound_token): Handled classes nested
within classes, not just classes nested within namespaces.

2003-05-09  David Carlton  <carlton@bactrian.org>

* gdb.c++/breakpoint.cc: New.
* gdb.c++/breakpoint.exp: New.
* gdb.c++/namespace.exp: Update "print C::D::cd" for current
output.

21 years ago2003-05-07 David Carlton <carlton@bactrian.org>
David Carlton [Thu, 8 May 2003 01:10:52 +0000 (01:10 +0000)] 
2003-05-07  David Carlton  <carlton@bactrian.org>

* valops.c (value_aggregate_elt): Add 'noside' argument.
(value_struct_elt_for_reference): Add 'block', 'noside'
arguments.  Call value_maybe_namespace_elt.
(value_namespace_elt): Add 'noside' argument.  Break out code into
value_maybe_namespace_elt.
(value_maybe_namespace_elt): New.  Handle types.
* value.h: Update declaration for value_aggregate_elt.
* eval.c (evaluate_subexp_standard): Pass 'noside' to
value_aggregate_elt.
* c-exp.y: Added 'qualified_type'.
(yylex): Comment out nested type stuff.

2003-05-07  David Carlton  <carlton@bactrian.org>

* gdb.c++/namespace.exp: Update messages to match new parser
changes.

21 years ago2003-05-02 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 2 May 2003 20:36:08 +0000 (20:36 +0000)] 
2003-05-02  David Carlton  <carlton@bactrian.org>

* minsyms.c: Delete declarations for lookup_minimal_symbol_linkage
and lookup_minimal_symbol_natural.
* linespec.c (decode_variable): Call
lookup_minimal_symbol_linkage_or_natural instead of
lookup_minimal_symbol.
(decode_dollar): Ditto.

21 years ago2003-05-02 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 2 May 2003 17:55:19 +0000 (17:55 +0000)] 
2003-05-02  David Carlton  <carlton@bactrian.org>

* gdb.c++/rtti.h: New.
* gdb.c++/rtti2.cc: New.
* gdb.c++/rtti1.cc: New.
* gdb.c++/rtti.exp: New.

2003-05-02  David Carlton  <carlton@bactrian.org>

* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti files.

21 years ago2003-04-30 David Carlton <carlton@bactrian.org>
David Carlton [Thu, 1 May 2003 00:46:59 +0000 (00:46 +0000)] 
2003-04-30  David Carlton  <carlton@bactrian.org>

* cp-namespace.c (get_namespace_objfile): Copy the namespace
objfile's name.

* block.h (ALL_BLOCK_SYMBOLS): Move here from dictionary.h.
* dictionary.c: Sync up with mainline version I just posted.
Specifically, update some commments, and:
(dict_create_hashed): Fiddle with nsyms updating.
(dict_create_linear): Ditto.
(dict_lookup): Delete.
(iterator_next_hashed): Delete FIXME comment.
(iter_name_first_hashed): Replace 'sym' by 'sym != NULL'.
(iter_name_next_hashed): Replate 'next' by 'next != NULL'.
* dictionary.h: Sync up with mainline version I just posted: add
inclusion guards, delete declaration of dict_lookup, delete
ALL_BLOCK_SYMBOLs.

* Merge with mainline; tag is carlton_dictionary-20030430-merge.

21 years ago2003-04-30 David Carlton <carlton@bactrian.org>
David Carlton [Wed, 30 Apr 2003 23:11:31 +0000 (23:11 +0000)] 
2003-04-30  David Carlton  <carlton@bactrian.org>

* Makefile.in (cp-namespace.o): Update dependencies.
(cp-support.o): Ditto.
* cp-support.h: Declare maint_cplus_cmd_list.
* cp-namespace.c: Move variables namespace_block,
possible_namespace_block, namespace_objfile here from
cp-support.c.
Move functions initialize_namespace_blocks, get_namespace_block,
get_possible_namespace_block, free_namespace_blocks,
check_one_possible_namespace_symbol,
check_possible_namespace_symbols_loop, maintenance_print_namespace
here from cp-support.c.
Include objfiles.h, gdbtypes.h, dictionary.h, gdbcmd.h.
* cp-namespace.c (_initialize_cp_namespace): New.
(maintenance_cplus_namespace): Rename from
maintenance_print_namespace.
* cp-support.c (cp_find_first_component): Fix typo in comment.
(_initialize_cp_support): Don't add 'maint print
namespace'.
Make maint_cplus_cmd_list extern.
Prune includes.

2003-04-30  David Carlton  <carlton@bactrian.org>

* gdb.c++/maint.exp (test_help): Refactor, and add test for maint
cp namespace.
(test_namespace): New.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Wed, 30 Apr 2003 01:27:54 +0000 (01:27 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-04-30 01:27:53 UTC Adam Fedor <fedor@gnu.org> '* eval.c (evaluate_subexp_standard): Handle ObjC ops.':
    bfd/elf32-m68hc1x.c
    bfd/elf32-m68hc1x.h
    gdb/gdb_gcore.sh
    gdb/infcall.c
    gdb/infcall.h
    libiberty/snprintf.c
    libiberty/vsnprintf.c

21 years ago2003-04-18 David Carlton <carlton@bactrian.org>
David Carlton [Fri, 18 Apr 2003 18:10:50 +0000 (18:10 +0000)] 
2003-04-18  David Carlton  <carlton@bactrian.org>

* mdebugread.c (parse_symbol): Move up declaration of 'iter'.
* dwarf2read.c (add_partial_namespace): Move up declaration of
'full_name'.
* cp-support.c (cp_find_first_component): Accept 'operator' in
more locations.

2003-04-18  David Carlton  <carlton@bactrian.org>

* gdb.c++/maint.exp (test_first_component): Add tests for
'operator' in more locations.

21 years ago2003-04-16 David Carlton <carlton@bactrian.org>
David Carlton [Wed, 16 Apr 2003 19:57:09 +0000 (19:57 +0000)] 
2003-04-16  David Carlton  <carlton@bactrian.org>

* Merge with mainline; tag is carlton_dictionary-20030416-merge.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Wed, 16 Apr 2003 04:55:32 +0000 (04:55 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-04-16 04:55:31 UTC DJ Delorie <dj@redhat.com> 'merge from gcc':
    bfd/cpu-xtensa.c
    bfd/elf32-xtensa.c
    bfd/po/zh_CN.po
    bfd/xtensa-isa.c
    bfd/xtensa-modules.c
    gdb/cp-namespace.c
    gdb/doc/observer.texi
    gdb/frame-base.c
    gdb/frame-base.h
    gdb/i386-cygwin-tdep.c
    gdb/infttrace.h
    gdb/mi/mi-cmd-file.c
    gdb/testsuite/gdb.arch/e500-abi.c
    gdb/testsuite/gdb.arch/e500-abi.exp
    gdb/testsuite/gdb.arch/e500-regs.c
    gdb/testsuite/gdb.arch/e500-regs.exp
    gdb/testsuite/gdb.asm/m68hc11.inc
    gdb/testsuite/gdb.base/gdb1090.c
    gdb/testsuite/gdb.base/gdb1090.exp
    gdb/testsuite/gdb.c++/maint.exp
    gdb/testsuite/gdb.gdb/observer.exp
    gdb/testsuite/gdb.mi/mi-file.exp
    include/elf/xtensa.h
    include/xtensa-config.h
    include/xtensa-isa-internal.h
    include/xtensa-isa.h
    libiberty/mempcpy.c
    libiberty/stpcpy.c
    libiberty/stpncpy.c
    opcodes/xtensa-dis.c
    sim/arm/iwmmxt.c
    sim/arm/iwmmxt.h
    sim/arm/maverick.c

21 years ago2003-03-10 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 11 Mar 2003 01:01:10 +0000 (01:01 +0000)] 
2003-03-10  David Carlton  <carlton@math.stanford.edu>

* buildsym.c (scan_for_anonymous_namespaces): Allow
"{anonymous}".
* cp-support.c (cp_is_anonymous): Scan for "{anonymous}".

21 years ago2003-03-07 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 7 Mar 2003 22:52:55 +0000 (22:52 +0000)] 
2003-03-07  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_partial_symbol): Replace uses of
SYMBOL_MATCHES_NATURAL_NAME by equivalent uses of
SYMBOL_NATURAL_NAME, strcmp_iw.
* symtab.h (SYMBOL_MATCHES_NATURAL_NAME): Delete.
* minsyms.c (lookup_minimal_symbol_linkage): Make static.
(lookup_minimal_symbol_natural): Ditto.
(lookup_minimal_symbol): Only search on linkage names; rename
first argument to 'linkage_name'.
(lookup_minimal_symbol_linkage): Delete.
(lookup_minimal_symbol_natural): Delete.
(add_minsym_to_demangled_hash_table): Go back to using
SYMBOL_DEMANGLED_NAME instead of SYMBOL_NATURAL_NAME.
(lookup_minimal_symbol_aux): Don't use
SYMBOL_MATCHES_NATURAL_NAME: do a strcmp_iw on
SYMBOL_DEMANGLED_NAME instead.  Add comment.
(build_minimal_symbol_hash_tables): Go back to only adding to
demangled has table if SYMBOL_DEMANGLED_NAME is non-NULL.
* symtab.h: Delete declarations for lookup_minimal_symbol_linkage
and lookup_minimal_symbol_natural.
* valops.c (find_function_in_inferior): Use lookup_symbol_linkage
instead of lookup_symbol.  Change comment.
* remote.c (remote_check_symbols): Use
lookup_minimal_symbol_linkage_or_natural instead of
lookup_minimal_symbol, but add FIXME comment as well.
* objc-lang.c: Ditto.
* c-exp.y: Use lookup_minimal_symbol_linkage_or_natural instead of
lookup_minimal_symbol.
* p-exp.y: Ditto.
* objc-exp.y: Ditto.
* m2-exp.y: Ditto.
* jv-exp.y (push_expression_name): Ditto.
* f-exp.y: Ditto.
* printcmd.c (address_info): Ditto.
* symtab.h: Declare lookup_minimal_symbol_linkage_or_natural.
* minsyms.c (lookup_minimal_symbol_linkage_or_natural): New.
* ax-gdb.c (gen_var_ref): Use SYMBOL_LINKAGE_NAME instead of
DEPRECATED_SYMBOL_NAME.
* tracepoint.c (scope_info): Ditto.
* symtab.c (find_pc_sect_line): Ditto.
* stabsread.c (define_symbol): Ditto.
* sol-thread.c (info_cb): Ditto.
* printcmd.c (address_info): Ditto.
* hppa-tdep.c (hppa_fix_call_dummy): Ditto.
(hppa_in_solib_call_trampoline): Ditto.
* findvar.c (read_var_value): Ditto.

21 years ago2003-03-06 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 7 Mar 2003 00:31:46 +0000 (00:31 +0000)] 
2003-03-06  David Carlton  <carlton@math.stanford.edu>

* minsyms.c (add_minsym_to_hash_table): Use SYMBOL_LINKAGE_NAME.
(add_minsym_to_demangled_hash_table): Use SYMBOL_NATURAL_NAME.
(build_minimal_symbol_hash_tables): Add all minsyms to demangled
hash table.
(install_minimal_symbols): Use SYMBOL_LINKAGE_NAME.
(find_solib_trampoline_target): Ditto.
(compare_minimal_symbols): Ditto.
(compact_minimal_symbols): Ditto.
* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete.
* minsyms.c (lookup_minimal_symbol_text): Replace use of
DEPRECATED_SYMBOL_MATCHES_NAME by strcmp on linkage name.
(lookup_minimal_symbol_solib_trampoline): Ditto.
* symtab.h: Declare lookup_minimal_symbol_linkage,
lookup_minimal_symbol_natural.
* minsyms.c (lookup_minimal_symbol_aux): New function.
(lookup_minimal_symbol_linkage): Ditto.
(lookup_minimal_symbol_natural): Ditto.
(lookup_minimal_symbol): Move body into
lookup_minimal_symbol_aux.

2003-03-06  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/templates.exp (do_tests): Make expressions for 'ptype
Bar' and 'ptype Qux' more generous.

21 years ago2003-03-05 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 6 Mar 2003 00:56:43 +0000 (00:56 +0000)] 
2003-03-05  David Carlton  <carlton@math.stanford.edu>

* Merge with mainline.  Tag is carlton_dictionary-20030305-merge.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Wed, 5 Mar 2003 18:00:03 +0000 (18:00 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-03-05 18:00:02 UTC Daniel Jacobowitz <drow@false.org> ' * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.':
    bfd/doc/fdl.texi
    bfd/elf32-ppc.h
    gdb/coff-pe-read.c
    gdb/coff-pe-read.h
    gdb/dwarf2expr.c
    gdb/dwarf2expr.h
    gdb/dwarf2loc.c
    gdb/dwarf2loc.h
    gdb/observer.c
    gdb/observer.h
    gdb/tui/tui-interp.c
    libiberty/acconfig.h
    libiberty/lrealpath.c
    libiberty/physmem.c

21 years ago2003-02-27 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 28 Feb 2003 01:04:25 +0000 (01:04 +0000)] 
2003-02-27  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux_namespace_scope): Rename from
lookup_symbol_aux_using_loop.
(lookup_symbol_aux_using): Delete.
(lookup_symbol_aux): Call lookup_symbol_aux_namespace_scope
instead of lookup_symbol_aux_using.

21 years ago2003-02-24 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 25 Feb 2003 01:11:45 +0000 (01:11 +0000)] 
2003-02-24  David Carlton  <carlton@math.stanford.edu>

* symtab.h: Declare 'struct objfile'; don't declare 'struct
using_direct_node'.

21 years ago2003-02-24 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 24 Feb 2003 20:30:57 +0000 (20:30 +0000)] 
2003-02-24  David Carlton  <carlton@math.stanford.edu>

* dv-mn103tim.c (read_special_timer6_reg): Add break after
empty default: label.
(write_special_timer6_reg): Ditto.
Update copyright.

21 years ago2003-02-21 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 22 Feb 2003 01:33:13 +0000 (01:33 +0000)] 
2003-02-21  David Carlton  <carlton@math.stanford.edu>

* linespec.c (locate_compound_sym): Update call to
lookup_symbol_namespace.
* symtab.c (make_symbol_overload_list): Delete namespace_len
argument.
* symtab.h: Update declaration for make_symbol_overload_list.
* valops.c (find_oload_champ_namespace_loop): New format for
make_symbol_overload_list.
* symtab.c (lookup_symbol_namespace): Delete namespace_len
argument.
(lookup_symbol_aux_using_loop): Update call to
lookup_symbol_namespace.
(make_symbol_overload_list_using): Delete namespace_len argument.
* linespec.c (decode_namespace): Update call to
lookup_symbol_namespace.
* valops.c (value_namespace_elt): Ditto.
* symtab.c (lookup_nested_type): Ditto.
* symtab.h: Update declaration for lookup_symbol_namespace.
* block.c (block_all_usings): Delete.
(block_using): Make static.
(block_using_iterator_next): New using_direct format.
(block_using_iterator_first): Ditto.
* buildsym.c (scan_for_anonymous_namespaces): Rename variables.
(add_using_directive): New using functions.
(end_symtab): Use cp_copy_usings.
(copy_usings_to_obstack): Delete.
* block.c: Tweak initial comment.
(struct namespace_info): Move here.
(block_initialize_namespace): Set scope to NULL!
* block.h: Add compilation guards.
Reorder and update declarations.
* cp-support.c (cp_find_first_component): Return unsigned int.
(cp_entire_prefix_len): New.
(cp_add_using_obstack): Delete.
(cp_add_using_xmalloc): Delete.
(cp_copy_usings): Rewrite.
(cp_free_usings): Delete.
(cp_add_using): New.
(cp_is_anonymous): Delete second argument.
(xstrndup): New.
* cp-support.h: Add compilation guards.
Update declarations.
* coffread.c: New variable coff_source_file.
(coff_start_symtab): Use coff_source_file.
(complete_symtab): Ditto.
(coff_end_symtab): Ditto.
(coff_symtab_read): Ditto.
* dbxread.c (find_stab_function_addr): Const fix.
* buildsym.h: Const fix.
* buildsym.c (start_symtab): Const fix.
(start_subfile): Ditto.
* cp-support.c (cp_add_using_xmalloc): Copy name.
* dwarf2read.c (read_namespace): Loop through extensions
correctly.
(read_file_scope): Const fix.
(dwarf2_add_field): Ditto.
(read_structure_scope): Ditto.
(read_enumeration): Ditto.
(read_typedef): Ditto.
* buildsym.c (finish_block): Update comments and simplify code
when setting scope.
* buildsym.h: Add opaque declaration of 'struct block'.
Change comment before processing_current_prefix.
* arm-tdep.c (arm_gdbarch_init): Add break; after default:.

21 years ago2003-02-19 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 20 Feb 2003 23:54:59 +0000 (23:54 +0000)] 
2003-02-19  David Carlton  <carlton@math.stanford.edu>

* mdebugread.c (new_block): Add 'function' arg.
(parse_symbol): New arg to new_block.
(new_symtab): Ditto.
(fixup_sigtramp): Ditto.
* cp-support.c (initialize_namespace_blocks): Use
dict_hashed_expandable instead of dict_linear_expandable.
* jv-lang.c (get_java_class_symtab): Ditto.
* dictionary.c (enum dict_type): Add DICT_HASHED_EXPANDABLE.
(struct dictionary_hashed_expandable): New.
(struct dictionary): Add hashed_expandable member.
(DICT_EXPANDABLE_INITIAL_CAPACITY): Rename from
DICT_LINEAR_EXPANDABLE_INITIAL_CAPACITY.
(dict_create_linear_expandable): Use
DICT_EXPANDABLE_INITIAL_CAPACITY.
(dict_linear_vtbl): New.
(dict_create_hashed_expandable): New.
(add_symbol_hashed_expandable): New.
(dict_create_hashed): Move code into insert_symbol_hashed.
(insert_symbol_hashed): New.
(expand_hashtable): New.
* dictionary.h: Declare dict_create_hashed_expandable.

21 years ago2003-02-12 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 12 Feb 2003 23:37:10 +0000 (23:37 +0000)] 
2003-02-12  David Carlton  <carlton@math.stanford.edu>

* linespec.c (examine_compound_token): Call decode_namespace.
(decode_namespace): New function.
* cp-support.c (cp_find_first_component): Return the offset, not a
pointer.
(check_possible_namespace_symbols_loop): Update call to
cp_find_first_component.
(cp_check_possible_namespace_symbols): Ditto.
(cp_func_name): Ditto.
* buildsym.c (scan_for_anonymous_namespaces): Ditto.
(finish_block): Ditto.
* linespec.c (examine_compound_token): Ditto.
* symtab.c (lookup_symbol_aux_using_loop): Ditto.
* valops.c (find_oload_champ_namespace_loop): Ditto.
* cp-support.h: Declare cp_find_first_component to return an int.
* Makefile.in (linespec.o): cp_support_h.
* linespec.c (symtab_from_filename): Rename from handle_filename.
(decode_line_1): Call symtab_from_filename instead of
handle_filename.
(locate_compound_sym): Rename from locate_class_sym.  Search in
such a way that we find namespace symbols, too.
(examine_compound_token): Call locate_class_sym instead of
locate_compound_sym.
(locate_compound_sym): Add NAMESPACE arg.
(examine_compound_token): New arg to locate_compound_sym.
Handle TYPE_CODE_NAMESPACE.
#include "cp-support.hp"

21 years ago2003-02-11 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 12 Feb 2003 00:38:07 +0000 (00:38 +0000)] 
2003-02-11  David Carlton  <carlton@math.stanford.edu>

* valops.c (find_oload_champ): Add comment.
(find_oload_champ_namespace_loop): Fix memory management.
(find_oload_champ_namespace): Add comment.
(find_overload_match): Free oload_syms, oload_champ_bv.
* gdbtypes.c (rank_function): Add comment.
* valops.c (find_oload_champ_namespace_loop): Allow num_fns to be
zero.
* symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered.
(lookup_block_symbol): Delete comment.
* symfile.c (compare_psymbols): Use strcmp_iw_ordered.
* defs.h: Declare strcmp_iw_ordered.
* utils.c (strcmp_iw_ordered): New function.

21 years ago2003-02-07 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 8 Feb 2003 00:35:49 +0000 (00:35 +0000)] 
2003-02-07  David Carlton  <carlton@math.stanford.edu>

* gdb_mbuild.sh (keep): Delete extra shift after -f.

21 years ago2003-02-07 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 7 Feb 2003 19:18:06 +0000 (19:18 +0000)] 
2003-02-07  David Carlton  <carlton@math.stanford.edu>

* Merge with mainline; tag is carlton_dictionary-20030207-merge.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Fri, 7 Feb 2003 04:21:35 +0000 (04:21 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2003-02-07 04:21:34 UTC Andrew Cagney <cagney@redhat.com> '2003-02-06  Andrew Cagney  <ac131313@redhat.com>':
    bfd/cpu-iq2000.c
    bfd/cpu-msp430.c
    bfd/elf32-iq2000.c
    bfd/elf32-msp430.c
    bfd/elf32-sh64.h
    config/acx.m4
    gdb/ChangeLog-2002
    gdb/cli/cli-interp.c
    gdb/config/mips/linux64.mt
    gdb/config/mips/tm-linux64.h
    gdb/frame-unwind.c
    gdb/frame-unwind.h
    gdb/inflow.h
    gdb/interps.c
    gdb/interps.h
    gdb/mi/mi-interp.c
    gdb/mi/mi-main.h
    gdb/sentinel-frame.c
    gdb/sentinel-frame.h
    gdb/testsuite/config.hin
    gdb/testsuite/gdb.base/advance.c
    gdb/testsuite/gdb.base/advance.exp
    gdb/testsuite/gdb.base/args.c
    gdb/testsuite/gdb.base/args.exp
    gdb/testsuite/gdb.base/detach.exp
    gdb/testsuite/gdb.base/float.exp
    gdb/testsuite/gdb.base/psymtab.exp
    gdb/testsuite/gdb.base/psymtab1.c
    gdb/testsuite/gdb.base/psymtab2.c
    gdb/testsuite/gdb.base/until.exp
    gdb/testsuite/gdb.c++/pr-1023.cc
    gdb/testsuite/gdb.c++/pr-1023.exp
    gdb/testsuite/gdb.mi/mi-cli.exp
    gdb/testsuite/gdb.mi/mi-syn-frame.c
    gdb/testsuite/gdb.mi/mi-syn-frame.exp
    include/elf/iq2000.h
    include/elf/msp430.h
    include/elf/ppc64.h
    include/opcode/msp430.h
    libiberty/pex-common.h
    libiberty/pex-djgpp.c
    libiberty/pex-mpw.c
    libiberty/pex-msdos.c
    libiberty/pex-os2.c
    libiberty/pex-unix.c
    libiberty/pex-win32.c
    libiberty/pexecute.txh
    opcodes/iq2000-asm.c
    opcodes/iq2000-desc.c
    opcodes/iq2000-desc.h
    opcodes/iq2000-dis.c
    opcodes/iq2000-ibld.c
    opcodes/iq2000-opc.c
    opcodes/iq2000-opc.h
    opcodes/msp430-dis.c
    sim/arm/README

21 years ago2003-01-31 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 1 Feb 2003 01:17:22 +0000 (01:17 +0000)] 
2003-01-31  David Carlton  <carlton@math.stanford.edu>

From Jim Blandy  <jimb@redhat.com>:

Use a single, consistent representation for an empty minimal
symbol table in an objfile.
* objfiles.c (terminate_minimal_symbol_table): New function.
(allocate_objfile): Call it.
* objfiles.h (terminate_minimal_symbol_table): New declaration.
(ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
non-NULL.
* minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
objfile has minimal symbols, compare minimal_symbol_count to zero,
instead of comparing msymbols with NULL.
* objfiles.c (have_minimal_symbols): Same.
* solib-sunos.c (solib_add_common_symbols): Call
terminate_minimal_symbol_table.
* symfile.c (reread_symbols): Same.

* objfiles.h: Revert patch from 2003-01-27, to be replaced by
similar patch from Jim Blandy.
* objfiles.c (objfile_relocate): Ditto.
* i386-linux-tdep.c (find_minsym_and_objfile): Ditto.
* arm-linux-tdep.c (find_minsym_and_objfile): Ditto.
* gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
FLOAT_COERCION_BADNESS.
* gdbtypes.c (rank_one_type): Replace all uses of
INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
* valops.c (find_overload_match): Call cp_func_name.
* cp-support.h: Declare cp_func_name.
* cp-support.c (cp_func_name): New function.

2003-01-30  David Carlton  <carlton@math.stanford.edu>

* valops.c (find_overload_match): Move code into
find_oload_champ_namespace.
(find_oload_champ_namespace): New function, which immediately gets
eviscerated and turned into a call to
find_oload_champ_namespace_loop.
(find_oload_champ_namespace_loop): New function.
* symtab.c (make_symbol_overload_list): Move entire body into
make_symbol_overload_list_qualified.
(make_symbol_overload_list_qualified): New.
(read_in_psymtabs): New.
(make_symbol_overload_list_qualified): Rewrite.
(make_symbol_overload_list_using): New.
(lookup_symbol_namespace): Use alloca, not xmalloc.
(make_symbol_overload_list): Put some memory management stuff back
in.

21 years ago2003-01-28 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 29 Jan 2003 01:23:20 +0000 (01:23 +0000)] 
2003-01-28  David Carlton  <carlton@math.stanford.edu>

* valops.c (find_overload_match): Calculate func_name via
SYMBOL_CPLUS_DEMANGLED_NAME + remove_params.
* symtab.c (remove_params): Make extern.
* symtab.h: Add declaration for remove_params.
* symtab.c (overload_list_add_symbol): Change second arg to const
char *.
* valops.c (find_overload_match) Update call to
make_symbol_overload_list.
* symtab.h: Update declaration for make_symbol_overload_list.
* symtab.c (make_symbol_overload_list): Change arguments.
* valops.c (find_overload_match): Rename cleanups to old_cleanups;
handle freeing func_name via cleanups.

21 years ago2003-01-27 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 28 Jan 2003 00:33:13 +0000 (00:33 +0000)] 
2003-01-27  David Carlton  <carlton@math.stanford.edu>

* objfiles.h: Add comments about objfile->msymbols being NULL.
* objfiles.c (objfile_relocate): Enclose ALL_OBJFILE_MSYMBOLS in
guard.
* i386-linux-tdep.c (find_minsym_and_objfile): Call ALL_MSYMBOLS
instead of ALL_OBJFILES and ALL_OBJFILE_MSYMBOLS.
* arm-linux-tdep.c (find_minsym_and_objfile): Ditto.

21 years ago2003-01-24 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 25 Jan 2003 01:04:31 +0000 (01:04 +0000)] 
2003-01-24  David Carlton  <carlton@math.stanford.edu>

* valops.c (find_oload_champ): New function.
(find_overload_match): Separate code into find_oload_champ and
oload_method_static.
(find_oload_champ): Call oload_method_static.
(oload_method_static): New function.
(find_overload_match): Call classify_oload_match.
(classify_oload_match): New function.
* value.h: Update declaration of find_overload_match.
* eval.c (evaluate_subexp_standard): Pass current block to
find_overload_match.
* valops.c (find_overload_match): Add CURRENT_BLOCK arg.

2003-01-24  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/overload.exp: Add tests involving overloadNamespace.
Delete comment about GDB crashing.
* gdb.c++/overload.cc: Add dummyClass, dummyInstance,
overloadNamespace, and XXX.

21 years ago2003-01-20 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 21 Jan 2003 01:02:30 +0000 (01:02 +0000)] 
2003-01-20  David Carlton  <carlton@math.stanford.edu>

* p-exp.y: Add block to OP_FUNCALL.
* objc-exp.y: Add block to OP_FUNCALL.
* m2-exp.y: Add block to OP_FUNCALL.
* c-exp.y: Add block to OP_FUNCALL.
* ada-exp.y: Add block to OP_FUNCALL.
(write_object_renaming): Ditto.
* parse.c (length_of_subexp): Split off OP_FUNCALL.
(prefixify_subexp): Ditto.
* expprint.c (print_subexp): Change offset for OP_FUNCALL.
(dump_subexp): Ditto.
* eval.c (evaluate_subexp_standard): Change offset for
OP_FUNCALL.
* ada-lang.c (ada_resolve_subexp): Add comment on OP_FUNCALL.
(replace_operator_with_call): Add block to OP_FUNCALL.
(ada_evaluate_subexp): Change offset for OP_FUNCALL.
* expression.h (exp_opcode): Change comments before OP_FUNCALL and
OP_F77_UNDETERMINED_ARGLIST.

2003-01-14  David Carlton  <carlton@math.stanford.edu>

* symtab.c (search_symbols): Add comment.
(lookup_symbol_aux_using): Function name should start line.
(lookup_symbol_aux_using_loop): Ditto.
(lookup_block_symbol): Add comment.

2003-01-13  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (read_structure_scope): Add comment.
(add_partial_structure): Ditto.
* symtab.c (lookup_transparent_type): Add comment.

21 years ago2003-01-10 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 11 Jan 2003 01:11:03 +0000 (01:11 +0000)] 
2003-01-10  David Carlton  <carlton@math.stanford.edu>

* objfiles.c (allocate_objfile): Always set name.
* dwarf2read.c (scan_partial_symbols): Don't call
add_partial_structure on unions.
(add_partial_structure): Look for enclosing namespace names.
(read_structure_scope): Look enclosing namespace/class names.
(new_symbol): For C++ structures, always grab the name from the
type's name.

2003-01-10  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/templates.exp (do_tests): Update some of the regexps to
be a bit more generous.

21 years ago2003-01-07 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 8 Jan 2003 00:32:10 +0000 (00:32 +0000)] 
2003-01-07  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (add_partial_structure): New function.
(scan_partial_symbols): Call add_partial_structure.  New variable
info_ptr_updated.
* symtab.h (struct general_symbol_info): Make demangled_names
const char *.

21 years ago2003-01-06 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 7 Jan 2003 01:28:24 +0000 (01:28 +0000)] 
2003-01-06  David Carlton  <carlton@math.stanford.edu>

* config/djgpp/fnchange.lst: Mention
testsuite/gdb.c++/namespace1.cc.
* cp-support.h: Declare cp_lookup_namespace_symbol.
* cp-support.c (cp_lookup_namespace_symbol): New function.
(cp_check_namespace_symbol): Call cp_lookup_namespace_symbol.
(cp_lookup_possible_namespace_symbol): Update comment.
* symtab.c (lookup_symbol_aux_file): Add 'anonymous_namespace'
argument.
(lookup_symbol_namespace): Call lookup_symbol_aux_file with new
argument.
* cp-support.h: Declare cp_is_anonymous.
* cp-support.c (cp_is_anonymous): New function.
* buildsym.c (add_symbol_to_list): Don't test for anonymous
namespace mention here.
(scan_for_anonymous_namespaces): Test for it here, instead.
* symtab.c (lookup_symbol_aux_minsyms): Delete.
(lookup_symbol_aux_nonlocal): Don't call
lookup_symbol_aux_minsyms.

2003-01-06  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/namespace.exp: Test anonymous namespaces and multiple
files.
* gdb.c++/namespace1.cc: Add anonymous namespaces.

21 years ago * config/sparc/tm-sparc.h: Delete duplicate definition of
David Carlton [Tue, 24 Dec 2002 21:55:05 +0000 (21:55 +0000)] 
* config/sparc/tm-sparc.h: Delete duplicate definition of
DEPRECATED_PC_IN_CALL_DUMMY.

21 years ago2002-12-24 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 24 Dec 2002 21:51:28 +0000 (21:51 +0000)] 
2002-12-24  David Carlton  <carlton@math.stanford.edu>

* MAINTAINERS: Delete OBSOLETE targets.
* config/sparc/tm-sparc.h: Delete duplicate definition of
DEPRECATED_PC_IN_CALL_DUMMY.

21 years ago2002-12-23 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 24 Dec 2002 01:23:49 +0000 (01:23 +0000)] 
2002-12-23  David Carlton  <carlton@math.stanford.edu>

* symtab.c (search_symbols): Update comment.
(lookup_symbol): Don't demangle names.
(lookup_symbol_minsym): Delete FIXME comment.
(lookup_symbol_linkage): Add comment.
(lookup_symbol_aux): Rename 'mangled_name' argument to
'linkage_name'.
(lookup_symbol_aux_local): Ditto.
(lookup_symbol_aux_block): Ditto.
(lookup_symbol_aux_nonlocal): Ditto.
(lookup_symbol_aux_file): Ditto.
(lookup_symbol_aux_symtabs): Ditto.
(lookup_symbol_aux_psymtabs): Ditto.
(lookup_symbol_aux_using): Ditto.
(lookup_symbol_aux_using_loop): Ditto.
(lookup_symbol_namespace): Ditto.
(lookup_symbol_aux_minsyms): Ditto.
* symfile.c (psymbol_init_demangled_name): Delete unnecessary
variable, initialization.

21 years ago2002-12-23 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 23 Dec 2002 19:39:59 +0000 (19:39 +0000)] 
2002-12-23  David Carlton  <carlton@math.stanford.edu>

* Merge from mainline; tag is carlton_dictionary-20021223-merge.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Sat, 21 Dec 2002 19:58:08 +0000 (19:58 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2002-12-21 19:58:07 UTC Mark Kettenis <kettenis@gnu.org> '* osabi.c: Include "gdb_assert.h" and "gdb_string.h".':
    bfd/bfdio.c
    bfd/bfdwin.c
    config/accross.m4
    gdb/hppa-hpux-tdep.c
    gdb/m68k-tdep.h
    gdb/m68klinux-tdep.c
    gdb/mi/mi-cmd-env.c
    gdb/mips-tdep.h
    gdb/testsuite/gdb.base/store.c
    gdb/testsuite/gdb.base/store.exp
    libiberty/make-relative-prefix.c
    readline/compat.c
    readline/doc/history.0
    readline/doc/history.3
    readline/examples/readlinebuf.h
    readline/examples/rlcat.c
    readline/mbutil.c
    readline/misc.c
    readline/rlmbutil.h
    readline/rltypedefs.h
    readline/support/wcwidth.c
    readline/text.c

21 years ago2002-12-20 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 21 Dec 2002 00:17:45 +0000 (00:17 +0000)] 
2002-12-20  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux_minsyms): Don't call
lookup_symbol_aux from within this.
* values.c (value_static_field): lookup_symbol_linkage.
(value_fn_field): lookup_symbol_linkage.
* valops.c (value_struct_elt_for_reference): lookup_symbol_linkage.
* blockframe.c (inside_main_func): lookup_symbol_linkage.
* source.c (select_source_symtab): lookup_symbol_linkage.
* nlmread.c (nlm_symfile_read): Call lookup_symbol_linkage.
* nindy-tdep.c (nindy_frame_chain_valid): Call
lookup_symbol_linkage.
* linespec.c (count_methods): Call lookup_symbol_linkage.
(add_matching_methods): Ditto.
(add_constructors): Ditto.
* hppa-tdep.c (find_stub_with_shl_get): Call
lookup_symbol_linkage.  Delete symbol2.
(initialize_hp_cxx_exception_support): Call lookup_symbol_linkage.
* cli/cli-cmds.c (edit_command): SYMBOL_PRINT_NAME.
(list_command): SYMBOL_PRINT_NAME.
* valops.c (value_of_variable): SYMBOL_PRINT_NAME
(hand_function_call): SYMBOL_PRINT_NAME.
* typeprint.c (typedef_print): SYMBOL_PRINT_NAME.
* tracepoint.c (tracepoints_info): SYMBOL_PRINT_NAME.
* symtab.c (lookup_partial_symbol): SYMBOL_BEST_NAME.
(compare_search_syms): SYMBOL_BEST_NAME.
(print_symbol_info): SYMBOL_PRINT_NAME.
(print_msymbol_info): SYMBOL_PRINT_NAME.
(rbreak_command): SYMBOL_PRINT_NAME.
* symmisc.c (print_symbol): SYMBOL_PRINT_NAME.
* stack.c (print_frame): SYMBOL_PRINT_NAME.
(frame_info): SYMBOL_PRINT_NAME.
(print_block_frame_locals): SYMBOL_PRINT_NAME.
(print_block_frame_labels): SYMBOL_PRINT_NAME.
(print_frame_arg_vars): SYMBOL_PRINT_NAME.
(return_command): SYMBOL_PRINT_NAME.
* stabsread.c (define_symbol): SYMBOL_PRINT_NAME.
* p-valprint.c (pascal_val_print): SYMBOL_PRINT_NAME.
* printcmd.c (build_address_symbolic): SYMBOL_PRINT_NAME.
(sym_info): SYMBOL_PRINT_NAME.
(print_frame_args): SYMBOL_PRINT_NAME.
* objc-lang.c (compare_selectors): SYMBOL_BEST_NAME.
(compare_classes): SYMBOL_BEST_NAME.
* maint.c (maintenance_translate_address): SYMBOL_PRINT_NAME.
* linespec.c (find_method): SYMBOL_PRINT_NAME.
(select_symbols): SYMBOL_PRINT_NAME.
* infcmd.c (jump_command): SYMBOL_PRINT_NAME.
* findvar.c (locate_var_value): SYMBOL_PRINT_NAME.
* expprint.c (print_subexp): SYMBOL_PRINT_NAME.
* c-valprint.c (c_val_print): SYMBOL_PRINT_NAME.
* buildsym.c (finish_block): SYMBOL_PRINT_NAME.
* breakpoint.c (print_one_breakpoint): SYMBOL_PRINT_NAME.
* ax-gdb.c (gen_var_ref): SYMBOL_PRINT_NAME.
* ada-typeprint.c (ada_typedef_print): SYMBOL_PRINT_NAME.
* ada-lang.c (user_select_syms): Use SYMBOL_PRINT_NAME instead of
SYMBOL_SOURCE_NAME.
(user_select_syms):
(ada_finish_decode_line_1): Use SYMBOL_BEST_NAME instead of
SYMBOL_SOURCE_NAME.
* symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME.
* symfile.c (compare_symbols): Use SYMBOL_BEST_NAME, not
SYMBOL_SOURCE_NAME.
(compare_psymbols): Ditto.
* symtab.c (lookup_symbol_linkage): New function.
* symtab.h: Declare lookup_symbol_linkage.
* c-valprint.c (c_val_print): Call lookup_symbol_minsym.
* symtab.c (lookup_symbol_aux_minsyms): Call minsym_static.
* minsyms.c (minsym_static): New function.
* symtab.h: Declare minsym_static.
* symtab.c (lookup_symbol_minsym): New function.
(search_symbols): Call lookup_symbol_minsym instead of
lookup_symbol.
(lookup_symbol_namespace): Don't take apart NAME.
* symtab.h: Declare lookup_symbol_minsym.
* printcmd.c (build_address_symbolic): Don't use old version of
SYMBOL_LINKAGE_NAME.
* symtab.c (lookup_block_symbol): Change mangled names to linkage
name, and use SYMBOL_LINKAGE_NAME as appropriate.
* symtab.h (SYMBOL_LINKAGE_NAME): New macro, with a different
meaning from the old macro of the same name.  Also, add comments
about proper uses of names.

21 years ago2002-12-18 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 19 Dec 2002 01:03:06 +0000 (01:03 +0000)] 
2002-12-18  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux_file): Call
cp_lookup_possible_namespace_symbol.
* dwarf2read.c (add_partial_symbol): Sometimes check for possible
namespace symbols.
* cp-support.c (maintenance_print_namespace): Handle
possible_namespace_block, too.
(cp_lookup_possible_namespace_symbol): New function.
* cp-support.h: Declare cp_check_possible_namespace_symbols,
cp_lookup_possible_namespace_symbol.
* cp-support.c (check_one_possible_namespace_symbol): New
function.
(cp_check_possible_namespace_symbols): New function.
(check_possible_namespace_symbols_loop): New function.
* symfile.h: Update declaration for add_psymbol_to_list.
* symfile.c (psymbol_init_demangled_name): New function.
(add_psymbol_to_list): Change SYMBOL_INIT_LANGUAGE_SPECIFIC to
psymbol_init_demangled_name.
(add_psymbol_to_list): Return a const struct psymbol *.
* Makefile.in (dwarf2read.o): Don't depend on bcache_h.
* dwarf2read.c: Don't #include "bcache.h"
* cp-support.c (get_namespace_block): Allocate blocks via
allocate_block.
(initialize_namespace_blocks): New function.
New variable possible_namespace_block.
(get_namespace_block): Call initialize_namespace_blocks.
(free_namespace_blocks): Rename from free_namespace_block; handle
possible_namespace_block, too.
(get_possible_namespace_block): New function.
* jv-lang.c (get_java_class_symtab): Ditto.
* block.c (allocate_block): New function.
* block.h: Declare allocate_block.

21 years ago2002-12-17 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 18 Dec 2002 00:45:44 +0000 (00:45 +0000)] 
2002-12-17  David Carlton  <carlton@math.stanford.edu>

* c-exp.y (yylex): Modify the #if 1 block to handle nested types
in a more honest manner.
* symtab.c (lookup_nested_type): New function.
* symtab.h: Declare lookup_nested_type.

2002-12-16  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_partial_symbol): Don't search past the end of
the partial symbols.
* Makefile.in (f-exp.tab.c): Don't depend on c-exp.tab.c.
* dwarf2read.c (new_symbol): Only make global symbols associated
to structures, etc. if the current language is C++.
(add_partial_symbol): Ditto (for partial symbols).

2002-12-17  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/m-data.cc: Whitespace cleanup, to match mainline patch.
* gdb.c++/m-static.cc: Ditto.
* gdb.c++/namespace.exp: Fix comment.  Delete third argument to
all the gdb_tests.

2002-12-16  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/namespace.exp: Change KFAIL messages to point to c++/XXX
instead of gdb/XXX.

21 years ago2002-11-29 David Carlton <carlton@bactrian.org>
David Carlton [Sun, 1 Dec 2002 22:07:56 +0000 (22:07 +0000)] 
2002-11-29  David Carlton  <carlton@bactrian.org>

* dwarf2read.c (add_partial_symbol): Add partial symbols
corresponding to classes, etc. to global list.
(new_symbol): Ditto, mutatis mutandem.

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

* gdb.c++/namespace.exp: Add OtherFileClass tests.
* gdb.c++/namespace1.cc (C): New file.

21 years ago2002-11-27 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 28 Nov 2002 00:53:26 +0000 (00:53 +0000)] 
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.

21 years ago2002-11-24 David Carlton <carlton@bactrian.org>
David Carlton [Sun, 24 Nov 2002 18:47:19 +0000 (18:47 +0000)] 
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.

21 years ago2002-11-22 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 23 Nov 2002 00:42:55 +0000 (00:42 +0000)] 
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.

21 years ago2002-11-21 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 22 Nov 2002 01:16:14 +0000 (01:16 +0000)] 
2002-11-21  David Carlton  <carlton@math.stanford.edu>

* cp-support.c (get_namespace_objfile): Set
namespace_objfile->name.
* dwarf2read.c (scan_partial_symbols): Allow empty pdi.name if
we're reading a namespace.
* Makefile.in (dwarf2read.o): Depend on cp_support_h.
* dwarf2read.c (scan_partial_symbols): Add 'namespace' arg.
(dwarf2_build_psymtabs_hard): Update call to
scan_partial_symbols.
(add_partial_namespace): New function.
(scan_partial_symbols): Call add_partial_namespace.
#include "cp-support.h"
* cp-support.c: Add me to contributors.
* cp-support.h: Ditto.
* buildsym.c (scan_for_anonymous_namespaces): Convert for loop
into a clearer while loop.
(finish_block): Ditto.

21 years ago2002-11-20 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 21 Nov 2002 01:04:22 +0000 (01:04 +0000)] 
2002-11-20  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (scan_partial_symbols): Move lowpc, highpc initial
and final setting to dwarf2_build_psymtabs_hard.
(dwarf2_build_psymtabs_hard): Set lowpc, highpc outside of
scan_partial_symbols.
(scan_partial_symbols): Handle namespaces by calling ourself
recursively.
* Makefile.in (cp-support.o): Depend on gdbcmd_h.
* cp-support.c (_initialize_cp_support): New function.
(maintenance_print_namespace): New function.
#include "gdbcmd.h"
* cp-support.h: Add opaque declaration for 'struct symbol'.
* symfile.h: Add comment saying that you must first include
symtab.h.
* Makefile.in (cp-support.o): Depend on dictionary_h.
* cp-support.c: #include "dictionary.h"
* gdbtypes.h: Add TYPE_CODE_NAMESPACE to enum type_code.
* cp-support.h: Add declaration for cp_check_namespace_symbol.
* Makefile.in (cp-support.o): Depend on gdbtypes_h.
* cp-support.c: New variable namespace_objfile.
(get_namespace_objfile): New function.
(cp_check_namespace_symbol): New function.
#include "gdbtypes.h"
* Makefile.in (cp-support.o): Depend on symfile_h, symtab_h,
block_h, objfiles_h.
* cp-support.c: Add declaration for find_last_component.
#include "symfile.h", "symtab.h", "block.h", "objfiles.h".
New variable namespace_block.
(get_namespace_block): New function.
(free_namespace_block): New function.

21 years ago2002-11-19 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 20 Nov 2002 01:09:54 +0000 (01:09 +0000)] 
2002-11-19  David Carlton  <carlton@math.stanford.edu>

* block.c: Whitespace cleanup.
* buildsym.c (finish_block): Delete #if'd out code.
* symtab.c (lookup_symbol_namespace): Add comment.
* dwarf2read.c (scan_partial_symbols): Fix typo.

2002-11-19  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/namespace.exp: Delete FIXME comment.
Fill in PR's for setup_kfail's.
Fiddle with comments at top of file.

21 years ago2002-11-15 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 16 Nov 2002 00:16:57 +0000 (00:16 +0000)] 
2002-11-15  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux): Get at static block via
block_static_block.
(lookup_symbol_aux_local): Delete static_block argument, and use
block_static_block.
* block.h: Declare block_static_block.
* block.c (block_static_block): New function.
* linespec.c (decode_all_digits): Move up definition of
need_canonical.

21 years ago2002-11-15 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 15 Nov 2002 19:19:28 +0000 (19:19 +0000)] 
2002-11-15  David Carlton  <carlton@math.stanford.edu>

* Merge from mainline; tag is carlton_dictionary-20021115-merge.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Fri, 15 Nov 2002 08:38:39 +0000 (08:38 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2002-11-15 08:38:38 UTC Klee Dienes <kdienes@apple.com> '2002-11-15  Klee Dienes  <kdienes@apple.com>':
    bfd/mach-o-target.c
    bfd/mach-o.c
    bfd/mach-o.h
    bfd/pef-traceback.h
    bfd/pef.c
    bfd/pef.h
    bfd/xsym.c
    bfd/xsym.h
    gdb/config/i386/interix.mh
    gdb/config/i386/interix.mt
    gdb/config/i386/nm-interix.h
    gdb/dummy-frame.c
    gdb/dummy-frame.h
    gdb/i386-interix-nat.c
    gdb/i386-interix-tdep.c
    gdb/reggroups.c
    gdb/reggroups.h
    gdb/testsuite/gdb.mi/gdb792.cc
    gdb/testsuite/gdb.mi/gdb792.exp

21 years ago2002-11-14 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 15 Nov 2002 01:10:43 +0000 (01:10 +0000)] 
2002-11-14  David Carlton  <carlton@math.stanford.edu>

* Makefile.in (symtab.o): Depend on gdb_assert_h.
* symtab.c: #include "gdb_assert.h"
* Makefile.in (namespace): Add 'namespace' target.
* buildsym.c (finish_block): Comment out the using declarations
generation.
* block.h: Make argument to block_scope const.
* block.c (block_scope): Make argument const.
* symtab.c (lookup_symbol_aux_using): Gather usings via
block_all_usings.
(lookup_symbol_namespace): Rename from
lookup_symbol_aux_using_loop.
(lookup_symbol_aux_using_loop): New function.
* block.h: Declare block_all_usings.
* block.c (block_all_usings): New function.
* symtab.c (lookup_symbol_aux_nonlocal): Delete FIXME comment.
* buildsym.c (finish_block): Add FIXME comment.

2002-11-14  David Carlton  <carlton@math.stanford.edu>

* carlton_runnamespace: New file.

21 years ago2002-11-13 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 14 Nov 2002 00:07:54 +0000 (00:07 +0000)] 
2002-11-13  David Carlton  <carlton@math.stanford.edu>

* buildsym.c (finish_block): Initialize block_scope (block) in
C++ function blocks.
* dwarf2read.c: Delete variable current_namespace.
(psymtab_to_symtab_1): Rename current_namespace to
processing_current_namespace.
(read_namespace): Ditto.
* buildsym.h: New variable processing_current_namespace.
* block.h: Declarations for block_scope and block_set_scope.
* block.c (block_scope): New function.
(block_set_scope): New function.
* cp-support.h (struct namespace_info): Add 'scope' member.
* buildsym.c (finish_block): Replace BLOCK_USING by
block_set_using.
(end_symtab): Ditto.
* block.h: Declaration for block_set_using.
* block.c (block_set_using): New function.
(block_initialize_namespace): New function.
* symtab.c (lookup_symbol_aux_using): Replace BLOCK_USING by
block_using.
* buildsym.c (finish_block): Set BLOCK_NAMESPACE to NULL, not
BLOCK_USING.
* jv-lang.c (get_java_class_symtab): Ditto.
* block.h: Declaration for block_using.
* block.c (block_using): New function.
* Makefile.in (block.o): New rule; also add block.c to SFILES and
block.o to COMMON_OBS.
* block.c: New file.
* symtab.c (contained_in): Move to block.c.
(block_function): Ditto.
* block.h (struct block): Have the language-specific stuff contain
a struct namespace_info.
(BLOCK_NAMESPACE): New macro.
(BLOCK_USING): Delete.
* linespec.c (decode_variable): Add comment before
decode_variable.
* cp-support.h (struct namespace_info): New struct.

21 years ago2002-11-06 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 7 Nov 2002 00:59:50 +0000 (00:59 +0000)] 
2002-11-06  David Carlton  <carlton@math.stanford.edu>

* linespec.c: Delete declaration of operator_chars.

* symtab.c (lookup_symbol_aux): Add comment.

* linespec.c: Update copyright notice.
(examine_compound_token): Rename from dl1_examine_compound_token.
Misc. cleanups.
(locate_class_sym): Rename from dl1_locate_class_sym.
(decode_compound): Misc. cleanup.
(symbol_found): Rename from dl1_symbol_found; misc. cleanup.
(find_next_token): Rename from dl1_find_next_token; misc. cleanup.
(find_method): Rename from dl1_find_method.  Delete sym_arr
argument.  Misc. cleanup.
(count_methods): Rename from dl1_find_method.  Reorder arguments
to match find_methods.  Misc. cleanup.
(find_method_name): New function.
(add_matching_methods): New function.
(add_constructors): New fnuction.
(find_methods): Separate out some of code into find_method_name,
add_matching_methods, and add_constructors; misc. cleanup.
(is_all_digits): Rename from dl1_is_all_digits.
(decode_all_digits): Rename from dl1_all_digits.  Don't set
defaults: we already did that in initialize_defaults.
(skip_digits): Rename from dl1_skip_digits.
(handle_filename): Rename from dl1_handle_filename;
misc. cleanup.
(minsym_found): Rename from dl1_minsym_found; misc. cleanup.
(decode_dollar): Rename from dl1_decode_dollar; misc. cleanup.
(build_canonical_line_spec): Misc. cleanup.
(find_toplevel_char): Move; change 0 to NULL.
(decode_variable): Rename from dl1_variable; misc. cleanup.
(select_symbols): Rename from decode_line_2; misc. cleanup; fork
out some code into select_symbols_args.
(select_symbols_args): New function.
(decode_line_1): Misc. cleanup.

21 years ago2002-11-04 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 5 Nov 2002 01:22:21 +0000 (01:22 +0000)] 
2002-11-04  David Carlton  <carlton@math.stanford.edu>

* linespec.c (initialize_defaults): Rename from
dl1_initialize_defaults.
(set_flags): Rename from dl1_set_flags.
(decode_line_1): Set flags before decoding indirect.
(decode_indirect): Rename from dl1_indirect.
(set_flags): Miscellaneous cleanup.
(decode_indirect): Miscellaneous cleanup.
Move around some functions and declarations.

21 years ago2002-11-01 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 2 Nov 2002 01:37:03 +0000 (01:37 +0000)] 
2002-11-01  David Carlton  <carlton@math.stanford.edu>

* linespec.c (dl1_set_flags): Change arguments.
(dl1_compound): Rename from dl1_multipart_compound, and shuffle
components.
(dl1_examine_compound_token): Change call structure.
(dl1_find_method): Ditto.
(dl1_handle_filename): Ditto.
(dl1_is_all_digits): New function.
(dl1_all_digits): Ditto.
(dl1_skip_digits): Ditto.
(dl1_dollar): Ditto.
(dl1_variable): Ditto.
(dl1_symbol_found): Ditto.
(dl1_minsym_found): Ditto.
(decode_line_1): Slim down dramatically.

21 years ago2002-10-31 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 1 Nov 2002 01:12:52 +0000 (01:12 +0000)] 
2002-10-31  David Carlton  <carlton@math.stanford.edu>

* linespec.c (dl1_handle_multipart): New function.
(dl1_multipart_compound): Ditto.
(dl1_examine_compound_token): Ditto.
(dl1_locate_class_sym): Ditto.
(dl1_find_next_token): Ditto.
(dl1_find_method): Ditto.
(dl1_count_methods): Ditto.
(dl1_handle_filename): Ditto.
(decode_line_1): Call dl1_handle_multipart.
(cplusplus_error): Declare to be NORETURN.

Also, my previous change on the branch should have mentioned:

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

* ada-lang.c (standard_lookup): Set last argument to lookup_symbol
to NULL.
* p-valprint.c (pascal_val_print): Ditto.
* objc-lang.c (find_imps): Ditto.
* c-valprint.c (c_val_print): Ditto.

21 years ago2002-10-28 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 29 Oct 2002 01:07:47 +0000 (01:07 +0000)] 
2002-10-28  David Carlton  <carlton@math.stanford.edu>

* linespec.c (dl1_initialize_defaults): New function.
(dl1_indirect): Ditto.
(dl1_set_flags): Ditto.
(dl1_locate_first_half): Ditto.
(decode_line_1): Call the above functions.
* symtab.c (lookup_symbol_aux_minsyms): Add block_index argument,
and delete is_a_field_of_this argument.
(lookup_symbol_aux_nonlocal): Add call to
lookup_symbol_aux_minsyms, and expand HP comment.
(lookup_symbol_aux): Delete calls to lookup_symbol_aux_minsyms.
Expand on comment before lookup_transparent_type.

21 years ago2002-10-25 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 25 Oct 2002 23:50:01 +0000 (23:50 +0000)] 
2002-10-25  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux_block): New function.
(lookup_symbol_aux_local): Call lookup_symbol_aux_block.
(lookup_symbol_aux): Ditto.

* Merge from mainline; tag is carlton_dictionary-20021025-merge.

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

* cp-support.c: Add comment to demangled name pitfalls.
* symtab.c (lookup_transparent_type): Add FIXME comment at
beginning.

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

* symtab.c: Delete cplusplus_hint.
Delete prototype for find_template_name_end.
* dwarf2read.c (scan_partial_symbols): Add in a gdb_assert from a
later version of my namespace_minimal patch.

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

* gdb.c++/namespace.exp: Change all of the setup_xfail tests that
I added into setup_kfails.

21 years ago2002-10-22 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 22 Oct 2002 23:22:56 +0000 (23:22 +0000)] 
2002-10-22  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (scan_partial_symbols): Clarify some comments.
* symtab.c (lookup_symbol_aux): Always call
lookup_symbol_aux_using to search global symtabs/psymtabs.
(lookup_symbol_aux_local): Add static_block argument.
* buildsym.c (add_symbol_to_list): Do a quick scan for "(anonymous
namespace)" before calling scan_for_anonymous_namespaces.
(scan_for_anonymous_namespaces): Delete FIXME comment.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Tue, 22 Oct 2002 01:43:38 +0000 (01:43 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from master 2002-10-22 01:43:37 UTC Daniel Jacobowitz <drow@false.org> '        * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line':
    bfd/elf32-qnx.c
    gdb/config/i386/obsd.mt
    gdb/testsuite/gdb.asm/mips.inc

21 years ago2002-10-21 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 22 Oct 2002 00:17:28 +0000 (00:17 +0000)] 
2002-10-21  David Carlton  <carlton@math.stanford.edu>

* buildsym.c (add_symbol_to_list): Expand comment.
* objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.
* Makefile.in (x86-64-tdep.o): Depend on block_h.
* x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END and
SYMBOL_BLOCK_VALUE.

21 years agoThis commit was manufactured by cvs2svn to create branch
nobody [Sun, 20 Oct 2002 11:54:42 +0000 (11:54 +0000)] 
This commit was manufactured by cvs2svn to create branch
'carlton_dictionary-branch'.

Cherrypick from gdb_5_3-branch 2002-10-20 11:54:41 UTC nobody 'This commit was manufactured by cvs2svn to create branch 'gdb_5_3-branch'.':
    gdb/i386obsd-tdep.c

21 years ago2002-10-18 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 18 Oct 2002 23:42:59 +0000 (23:42 +0000)] 
2002-10-18  David Carlton  <carlton@math.stanford.edu>

* Makefile.in (block_h): New variable.
Updated dependencies to reflect it.
* parse.c (parse_exp_1): Use BLOCK_START.
#include "block.h"
* p-exp.tab.c: Regenerated.
* m2-exp.tab.c: Ditto.
* jv-exp.tab.c: Ditto.
* f-exp.tab.c: Ditto.
* c-exp.tab.c: Ditto.
* ada-exp.tab.c: Ditto.
* ada-lang.c: #include "block.h"
* p-exp.y: Ditto.
* objc-exp.y: Ditto.
* m2-exp.y: Ditto.
* jv-exp.y: Ditto.
* f-exp.y: Ditto.
* c-exp.y: Ditto.
* ada-exp.y: Ditto.
* values.c: Ditto.
* valops.c: Ditto.
* tracepoint.c: Ditto.
* symtab.c: Ditto.
* symmisc.c: Ditto.
* symfile.c: Ditto.
* stack.c: Ditto.
* printcmd.c: Ditto.
* objfiles.c: Ditto.
* objc-lang.c: Ditto.
* nlmread.c: Ditto.
* mips-tdep.c: Ditto.
* mdebugread.c: Ditto.
* linespec.c: Ditto.
* jv-lang.c: Ditto.
* infcmd.c: Ditto.
* f-valprint.c: Ditto.
* findvar.c: Ditto.
* expprint.c: Ditto.
* coffread.c: Ditto.
* buildsym.c: Ditto.
* breakpoint.c: Ditto.
* blockframe.c: Ditto.
* ax-gdb.c: Ditto.
* alpha-tdep.c: Ditto.
* block.h: New file.
* symtab.h: Moved struct block, struct blockvector, and related
macros and function declarations to block.h.
* dwarf2read.c (process_die): Set processing_has_namespace_info if
we run into DW_TAG_namespace, DW_TAG_imported_declaration, or
DW_TAG_imported_module.
New variable current_namespace.
(psymtab_to_symtab_1): Set current_namespace to "".
(dwarf2_name): New function.
(dwarf2_add_member_fn): Get name via dwarf2_name.
(read_typedef): Ditto.
(read_file_scope): Ditto.
(dwarf2_add_field): Ditto.
(read_structure_scope): Ditto.
(read_enumeration): Ditto.
(dwarf2_extension): New function.
(read_namespace): Set current_namespace correctly; also, if we're
entering an anonymous namespace, add an appropriate using
directive.
* buildsym.c (start_symtab): Reset processing_has_namespace_info
to 0.
(add_symbol_to_list): Only scan for anonymous namespaces if
!processing_has_namespace_info.
* buildsym.h: Add new flag processing_has_namespace_info.

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

* mi-cmd-stack.c: #include "block.h"

21 years ago2002-10-16 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 18 Oct 2002 00:00:19 +0000 (00:00 +0000)] 
2002-10-16  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf_tag_name): Add DWARF 3 names.
(dwarf_attr_name): Ditto.
(dwarf_type_encoding_name): Ditto.
(scan_partial_symbols): Descend into DW_TAG_namespace entries.
(process_die): Handle DW_TAG_namespace,
DW_TAG_imported_declaration, DW_TAG_imported_module.
(read_namespace): New function.

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

* gdb.c++/namespace.cc: Add namespace renaming, using directives,
and using declarations.
* gdb.c++/namespace.exp: Add some xfails, including namespace
renaming, using directives, and using declarations.

21 years ago2002-10-15 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 15 Oct 2002 23:59:24 +0000 (23:59 +0000)] 
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.

21 years ago2002-10-14 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 15 Oct 2002 00:20:32 +0000 (00:20 +0000)] 
2002-10-14  David Carlton  <carlton@math.stanford.edu>

* buildsym.c (add_using_directive): Rewrite to match new version
of struct using_direct.
(finish_block): Ditto.

* symtab.c (lookup_symbol_aux_using_loop): Add 'prefix_len'
argument; rewrite to match new version of struct using_direct.

* cp-support.h: Update declaration for cp_add_using.

* cp-support.c (cp_add_using): Rewrite to match new version of
struct using_direct.

* cp-support.h (struct using_direct): Rewrite struct.

* buildsym.h: Declaration for add_using_directive.

* buildsym.c: New variable 'using_list'.
(start_symtab): Initialize using_list.
(end_symtab): Initialize BLOCK_USING of STATIC_BLOCK.
(scan_for_anonymous_namespaces): New function.
(add_symbol_to_list): In C++ case, look for anonymous namespaces.
(add_using_directive): New function.

21 years agoMerge with mainline; merge tag carlton_dictionary-20021011-merge.
David Carlton [Fri, 11 Oct 2002 22:23:08 +0000 (22:23 +0000)] 
Merge with mainline; merge tag carlton_dictionary-20021011-merge.