Age | Commit message (Collapse) | Author | Files | Lines |
|
* Merge with mainline; tag is carlton_dictionary-20040126-merge.
|
|
'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
|
|
* 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.
|
|
|
|
* dwarf2read.c (get_scope_pc_bounds): New.
(psymtab_to_symtab_1): Use get_scope_pc_bounds.
(read_file_scope): Ditto.
|
|
'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
|
|
* 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.
|
|
* 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.
|
|
* Merge with mainline; tag is carlton-dictionary-20031111-merge.
|
|
'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
|
|
* 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.
|
|
* 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.
|
|
* Merge with mainline; tag is carlton_dictionary-20030917-merge.
|
|
'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
|
|
* carlton_runnamespace (TESTS): Fix typo in gdb.c++->gdb.cp
transition.
|
|
* 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.
|
|
* 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.
|
|
'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
|
|
* configure.in (build_warnings): Delete -Wformat-nonliteral.
* configure (build_warnings): Ditto.
* Merge with mainline; tag is carlton_dictionary-20030805-merge.
|
|
'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
|
|
* 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.
|
|
* Merge with mainline; tag is carlton_dictionary-20030627-merge.
|
|
'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
|
|
* 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.
|
|
* dwarf2read.c (die_specification): New.
(determine_prefix): Fix memory management.
(read_structure_scope): Set prefix correctly if getting type via
specification.
|
|
* dwarf2read.c (add_partial_structure): When looking for a
subprogram child, go sibling by sibling.
|
|
* dwarf2read.c (determine_prefix): Handle anonymous
classes/structures.
|
|
* 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.
|
|
* Merge with mainline; tag is carlton_dictionary-20030523-merge.
|
|
'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
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
'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
|
|
* 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.
|
|
* Merge with mainline; tag is carlton_dictionary-20030416-merge.
|
|
'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
|
|
* buildsym.c (scan_for_anonymous_namespaces): Allow
"{anonymous}".
* cp-support.c (cp_is_anonymous): Scan for "{anonymous}".
|
|
* 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.
|
|
* 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.
|
|
* Merge with mainline. Tag is carlton_dictionary-20030305-merge.
|
|
'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
|
|
* 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.
|
|
* symtab.h: Declare 'struct objfile'; don't declare 'struct
using_direct_node'.
|
|
* dv-mn103tim.c (read_special_timer6_reg): Add break after
empty default: label.
(write_special_timer6_reg): Ditto.
Update copyright.
|