• R/O
  • HTTP
  • SSH
  • HTTPS

提交列表

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


drow-cplus-branch
RSS
Rev. 时间 作者
0c35dee drow-cplus-branch 2004-03-01 02:24:05 Daniel Jacobowitz

* Makefile.in (cp-names-main.tab.o): Rename to test-cp-names.tab.o.
* config/djgpp/config.sed: Handle new *cp-names.tab.* references.

ab485c4 2004-02-10 05:34:04 Daniel Jacobowitz

* config/djgpp/fnchange.lst: Add cp-names.tab.c.

b16efb7 2004-02-10 04:44:05 Daniel Jacobowitz

Merge drow-cplus-merge-20040208 to drow-cplus-branch.

3e8231d 2004-02-09 19:55:25 nobody <>

This commit was manufactured by cvs2svn to create branch 'drow-cplus-
branch'.

Cherrypick from master 2004-02-09 10:55:24 UTC Michael Chastain <mec@google.com> '2004-02-09 Michael Chastain <mec.gnu@mindspring.com>':
gdb/auxv.c
gdb/auxv.h
gdb/config/sparc/obsd.mt
gdb/config/sparc/obsd64.mt
gdb/sparc64obsd-tdep.c
gdb/sparcobsd-tdep.c
gdb/testsuite/gdb.asm/openbsd.inc
gdb/testsuite/gdb.base/chng-syms.c
gdb/testsuite/gdb.base/chng-syms.exp
gdb/testsuite/gdb.base/pending.c
gdb/testsuite/gdb.base/pending.exp
gdb/testsuite/gdb.base/pendshr.c
gdb/testsuite/gdb.threads/thread-specific.c
gdb/testsuite/gdb.threads/thread-specific.exp
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
sim/testsuite/sim/mips/ChangeLog
sim/testsuite/sim/mips/basic.exp
sim/testsuite/sim/mips/sanity.s
sim/testsuite/sim/mips/testutils.inc

0f8568a 2004-01-14 03:30:53 Daniel Jacobowitz

* Makefile.in (cp_demangle_h): Remove.
(libiberty_h): Add.
(cp-names.tab.o, cp-names-main.tab.o, cp-support.o): Update
dependencies.
* cp-support.c: Don't include "cp-demangle.h".
(d_left, d_right): New macros.
(cp_canonicalize_string, class_name_from_physname,
method_name_from_physname): Fix types and component names.
* cp-support.h (demangled_name_to_comp, mangled_name_to_comp)
(cp_comp_to_string): Update prototypes.

f824423 2004-01-14 03:19:07 Daniel Jacobowitz

Remove dead fles.

b551fdd 2004-01-14 03:18:03 Daniel Jacobowitz

* cp-names.y: Don't include "cp-demangle.h". Convert all references
to d_info, d_comp, and D_COMP_* to demangle_info, demangle_component,
and DEMANGLE_COMPONENT_*. Convert all calls to cp_v3_d_* functions
to new wrapper functions. Add precedences for VOID and ')'.
(struct demangle_info): New type.
(d_grab, d_left, d_right): New macros.
(fill_comp, make_empty, make_operator, make_dtor, make_builtin_type)
(make_name): New wrapper functions.
(function_args): Remove D_PRINT_VOID test.
(function_arglist): Handle '(' VOID ')'.
(allocate_info): New function.
(demangled_name_to_comp): Use it. Call free.
(mangled_name_to_comp): Use cplus_demangle_v3_components.
(cp_print, main): Use fputs instead of puts.
* cp-support.c (cp_canonicalize_string, class_name_from_physname)
(method_name_from_physname): Remove calls to cp_v3_d_free_info.
Test demangled_name before freeing it.

1232d0e 2004-01-14 01:12:25 Daniel Jacobowitz

Merge mainline to branch. GDB is broken until I update cp-names.y.

962bba3 2004-01-13 06:24:39 nobody <>

This commit was manufactured by cvs2svn to create branch 'drow-cplus-
branch'.

Cherrypick from master 2004-01-12 21:24:38 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/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/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
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/testsuite/sim/sh/dmxy.s
sim/testsuite/sim/sh/fipr.s
sim/testsuite/sim/sh/fpchg.s
sim/testsuite/sim/sh/ldrc.s
sim/testsuite/sim/sh/loop.s
sim/testsuite/sim/sh/movli.s
sim/testsuite/sim/sh/movua.s
sim/testsuite/sim/sh/movxy.s
sim/testsuite/sim/sh/pabs.s
sim/testsuite/sim/sh/pclr.s
sim/testsuite/sim/sh/prnd.s
sim/testsuite/sim/sh/psub.s
sim/testsuite/sim/sh/pswap.s

af4f4b8 2004-01-12 09:44:47 Daniel Jacobowitz

* cp-names.y (orig_lexptr): New variable.
(exp1): New production for parenthesized references.
(yyerror): Print out complete string on parse error.
(demangled_name_to_comp, main): Set orig_lexptr.

be01fde 2004-01-05 07:42:41 Daniel Jacobowitz

* Makefile.in (cp_names_h): Remove.
(cp_demangle_h): New.
(cp-names.tab.o, cp-names-main.tab.o): Use $(cp_demangle_h) and
remove $(cp_names_h).
(cp-support.o): Use $(cp_demangle_h).
* cp-names.y: Don't include cp-names.h.
(cp_comp_to_string): Export.
(cp_canonicalize_string): Move to cp-support.c.
(demangled_name_to_comp, mangled_name_to_comp): New functions.
* cp-support.c: Include "cp-demangle.h".
(cp_canonicalize_string): New function, moved from cp-names.y and
updated.
(class_name_from_physname, method_name_from_physname): Rewritten.
(find_last_component): Removed.
* cp-support.h: Add new opaque types and prototypes.
* dwarf2read.c: Don't include cp-names.h.
* cp-names.h: Remove file.

21dd7cd 2004-01-05 04:10:46 Daniel Jacobowitz

* Makefile.in (cp-names.tab.o, cp-names-main.tab.o, test-cpnames):
Update dependencies. Link the correct libiberty.
* cp-names.y: Include cp-demangle.h instead of cp-demangle.c.
Update names of exported functions from cp-demangle.c. Use
cp_v3_d_init_info_alloc and cp_v3_d_free_info.

ebb0e4a 2004-01-05 04:06:34 Daniel Jacobowitz

* cp-demangle.h: New file.

9bff3c1 2004-01-05 04:06:15 Daniel Jacobowitz

Add cplus branch changelog

5411880 2004-01-05 04:05:57 Daniel Jacobowitz

* cp-demangle.c: Include cp-demangle.h. Export some public
functions and variables.
(cp_v3_d_init_info_alloc, cp_v3_d_free_info): New functions.
(d_make_operator_from_string): New function.
(cp_v3_d_make_empty, cp_v3_d_make_comp, cp_v3_d_make_name)
(cp_v3_d_make_builtin_type, cp_v3_d_make_extended_operator)
(cp_v3_d_make_ctor, cp_v3_d_make_dtor, cp_v3_d_print): Renamed
and made global. Update calls to renamed functions.

(d_make_template_param, d_make_sub, d_encoding, d_name, d_prefix)
(d_identifier, d_operator_name, d_special_name, d_ctor_dtor_name)
(d_type, d_cv_qualifiers, d_bare_function_type, d_array_type)
(d_pointer_to_member_type, d_template_args, d_expression)
(d_expr_primary, d_local_name, d_demangle): Update calls to renamed
functions.

(cp_v3_d_make_builtin_type): Accept a character instead of a pointer
to struct d_builtin_type_info.
(d_type): Update call to d_make_builtin_type.

* Makefile.in: Update dependencies for cp-demangle.o.

0ae7a34 2003-12-31 06:01:20 Daniel Jacobowitz

* cp-names.y (yylex): Fix thinko for character constants.
* dwarf2read.c: Include "cp-names.h".
(read_structure_scope): Canonicalize class names.

bc694da 2003-12-31 06:01:06 Daniel Jacobowitz

* gdb.cp/templates.exp: Formatting changes to match demangler style
for template names. New tests for member variable Foo::x with
different spellings of the template argument.

88c6b80 2003-12-25 07:35:25 Daniel Jacobowitz

* Makefile.in (cp_names_h): New variable.
(cp-names.tab.o, cp-names-main.tab.o): Depend on cp-names.h.
* cp-names.h: New file.
* cp-names.y: Include "cp-names.h".
(lexptr, prev_lexptr): Make const.
(symbol_end): Make argument and return type const. Move outside
of TEST_CPNAMES.
(parse_number): Make argument const. Use an ISO C declaration.
(parse_escape): Make argument const.
(yylex): Make some pointers const.
(cp_comp_to_string, cp_canonicalize_string): New functions.
(trim_chars): Cast symbol_end's return value to non-const in
this case.

342b1b7 2003-12-25 07:08:40 Daniel Jacobowitz

Merge from mainline.

25e7715 2003-12-25 06:59:05 Daniel Jacobowitz

* cp-names.y (LONGEST, ULONGEST, DOUBLEST): Remove.
(d_qualify): Take an int argument. Update for new INT_LLONG
handling.
(INT_CHAR, INT_SHORT, INT_LONG, INT_LLONG, INT_SIGNED)
(INT_UNSIGNED): Change into bitflags.
(%union): Change lval and typed_val_int.val to ints.
(scope_id, typespec): Inline non-terminals at their use sites.
(sign, size, int_type): Remove.
(int_part, int_seq): New non-terminals.
(result): Add missing semicolon.
(name, nested_name): Inline scope_id here.
(template_arg, function_args): Inline type here.
(builtin_type): Use int_seq. Add missing semicolon.
(typespec_2): Inline typespec and colon_name here.
(start, qualifiers_opt, qualifiers): Remove redundant action.
(abstract_declarator, direct_abstract_declarator): Likewise.
(abstract_declarator_fn): Likewise.
(d_builtin_type): New helper function.
(parse_number): Use d_builtin_type.
(HANDLE_SPECIAL): Only take one argument.
(yylex): Remove unused variable unquoted_expr. Use d_builtin_type.
Update calls to HANDLE_SPECIAL. Jump around case '-' instead of
falling through it. Use ISALNUM and ISALPHA. Add a return
statement after a call to error. Match trailing speaces on special
tokens.
(cp_print): Take a len argument, and pass it to d_print. Print the
string instead of returning it.
(main): Pass len to cp_print. Allocate and free myinfo.comps.
Use putchar and puts instead of printf.

* Makefile.in (safe_ctype_h): Add.
(test-cpnames, cp-names-main.tab.o): New rules.
(clean): Remove test-cpnames.
(cp-names.tab.o): Update dependencies.

543385e 2003-12-21 03:16:52 Daniel Jacobowitz

Merge from mainline.

61547ef 2003-12-21 03:02:48 Daniel Jacobowitz

* cp-names.y (%union): Remove abstract_fn. Add abstract.
(abstract_declarator_fn): Change type to abstract. Fold function
arglists lazily. Handle start_opt after function_arglist
and :: after more complex function types.
(abstract_declarator): Change type to abstract. Fold function
arglists eagerly.
(direct_abstract_declarator): Change type to abstract. Fold function
arglists only when necessary.
(function): Move start_opt into abstract_declarator_fn. Handle
bare conversion typespecs and unfolded arglists.
(declarator_1): Handle local names inside more complex function
declarations.
(main): Support --debug.

e0304d1 2003-12-20 16:08:44 Daniel Jacobowitz

* cp-names.y (%union): Add abstract_fn.
(conversion_op): New non-terminal, broken out of operator.
(conversion_op_name, abstract_declarator_fn): New non-terminals.
(ptr_operator_seq): Remove.
(function): Use D_COMP_LOCAL_NAME. Handle conversion operators.
(declarator_1): Use D_COMP_LOCAL_NAME.
(tokentab2, tokentab3): Remove.
(HANDLE_TOKEN3): Fix typo.
(yylex): Call HANDLE_TOKEN3 before HANDLE_TOKEN2.

147b898 2003-12-20 15:05:40 Daniel Jacobowitz

* cp-names.y (tokentab2, tokentab3): Remove.
(HANDLE_TOKEN2, HANDLE_TOKEN3): New macros.
(yylex): Use them.

f0ab26d 2003-12-20 03:54:02 Daniel Jacobowitz

* cp-names.y (%union): Remove typed_val_float.
(INT, FLOAT): Change to type comp.
(CONSTRUCTION_VTABLE): Change to untyped.
(demangler_special): Use D_COMP_CONSTRUCTION_VTABLE.
(array_indicator, exp): Update for new types of INT and FLOAT.
Handle D_COMP_LITERAL_NEG.
(parse_number): Simplify. Use D_COMP_LITERAL_NEG.
(HANDLE_SPECIAL): Define.
(tokentab_big): Remove.
(yylex): Remove unused variables. Optimize calls to strncmp
and handling of multi-word tokens.

59c060a 2003-12-20 01:44:33 Daniel Jacobowitz

* cp-names.y (symbol_end): New function.
(trim_chars): Use it.
(start_opt, function): New non-terminals used to support
function-local names.
(GLOBAL): New terminal.
(start): Use start_opt.
(demangler_special): Handle GLOBAL.
(array_indicator): Swap arguments to D_COMP_ARRAY_TYPE.
(direct_abstract_declarator, direct_declarator)
(direct_declarator_1): Likewise.
(declarator_1): Use declarator_1 instead of declarator after
a ptr_operator. Support function-local names.
(yylex): Handle GLOBAL specially.

e316522 2003-12-19 20:44:02 nobody <>

This commit was manufactured by cvs2svn to create branch 'drow-cplus-
branch'.

Cherrypick from master 2003-12-19 11:44:01 UTC Nick Clifton <nickc@redhat.com> 'Add support for m32r-linux target, including a RELA ABI and PIC.':
sim/m32r/syscall.h
sim/m32r/traps-linux.c

47ac368 2003-12-19 15:23:13 Daniel Jacobowitz

* cp-names.y (demangler_special): New non-terminal.
(DEMANGLER_SPECIAL, CONSTRUCTION_VTABLE, CONSTRUCTION_IN): New
terminals.
(GLOBAL_CONSTRUCTORS, GLOBAL_DESTRUCTORS): New enums.
(tokentab_big): New struct.
(yylex): Recognize them. Handle negative literals.
(parse_number): Handle negative literals.
(start): Use demangler_special.
(operator): Correct typos for ->* and (). Use typespec_2 instead of
typespec.
(unqualified_name): Allow operator templates.
(template_arg): Create a unary operation, not a reference type.
(exp): Set the type of D_COMP_LITERALs instead of adding a cast
operation.
(cp_print, trim_chars): New helper functions.
(main): Use them.

20b9637 2003-12-19 13:19:09 Daniel Jacobowitz

* cp-names.y (ext_name): Remove.
(colon_ext_only, ext_only_name): New non-terminals.
(colon_ext_name): Use colon_ext_only.
(declarator_1, direct_declarator_1): New non-terminals.
('('): Remove %right precedence.
(result): New non-terminal.
(start): Assign to $$. Use declarator_1. Handle functions
without return types.
(template_arg): Use start instead of colon_ext_name.
(yylex): Fix typo in "char" case.
(yyerror): Add newline.
(main): Behave like c++filt when started with no arguments.

03aa4f5 2003-12-19 01:32:12 Daniel Jacobowitz

* cp-names.y (basic_exp): Remove.
(function_arglist, declarator, abstract_declarator)
(direct_declarator, direct_abstract_declarator): Change type to
nested.
(array_indicator): New rule.
(start): Add actions.
(operator): Correct actions for conversion operators.
(template_arg): Use exp instead of basic_exp.
(abstract_declarator, type, declarator): Add missing actions.
(direct_abstract_declarator, direct_declarator): Likewise.
Use array_indicator. Correct use of function_arglist.