aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-01-02 * ada-exp.y: Considerable reorganization to move functionalityPaul N. Hilfinger5-604/+1545
from ada-lex.l to here, where it is logically more appropriate. The original reason, however, was to prevent premature name lookups for selector names in record aggregates. (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns NAME for all of these. (VAR): New artificial token to clarify precedence rules. (OTHERS): New lexeme. (empty_stoken): New symbol. (%union): Remove ssym, voidval. (%type): Remove <voidval> type declarations. (syntax definitions): Add aggregates. Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING. Rename some non-terminals to be closer to reference manual usage. Tighten up expression syntax to disallow certain non-Ada constructions such as X and then Y or else Z. (ada_parse): Remove initialization of left_block_context. (write_var_from_name): Remove. (write_var_or_type): New function, containing previous code from defunct write_var_from_name and name_lookup. (block_lookup): New function, moved from ada-lex.l (select_possible_type_sym): New function, factored out of name_lookup, which used to be in ada-lex.l. (find_primitive_type): Ditto. (chop_selector): Ditto. (write_ambiguous_var): New function, factored out of defunct write_var_from_name. (write_selectors): New function. (write_name_assoc): New function. (write_exp_op_with_string): New function. * ada-lex.l (processId): Change interface to return stoken. (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove. (block_lookup, name_lookup): Remove. Functionality moved to ada-exp.y. (state IN_STRING): Remove. (rules): Handle string escapes in processString. Add 'others' token. Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in yylval.sval (as simple strings). All name look-ups now handled in ada-exp.y. Introduce "::" (COLONCOLON) token and return as separate token. (processId): Change return convention. Comment. Leave leading "'" in place. (processString): New function. (find_dot_all): Add note to comment. Fix problem that allowed match only at the end. * ada-lang.c: Introduce aggregates. (find_struct_field): Add new parameter to count fields skipped, and allow other output parameters to be NULL. (value_tag_from_contents_and_address, ada_value_struct_elt): Use new find_struct_field. (ada_index_struct_field, assign_aggregate, ada_is_array_type) (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field) (num_component_specs, assign_component, assign_aggregate): (aggregate_assign_from_choices,aggregate_assign_positional) (aggregate_assign_others,add_component_interval): New functions. (ada_evaluate_subexp): Declare. Add aggregate-related operators. (ada_forward_operator_length): Declare. (resolve_subexp): Add cases for new aggregate operators and OP_NAME. Consolidate Ada operators, using ada_forward_operator_length. (ada_search_struct_field): Search in forward order. (ADA_OPERATORS): Add new aggregate operators. (ada_operator_length, ada_op_name, ada_forward_operator_length) (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate operators and OP_NAME. (ada_type_of_array): Use longest_to_int. (value_assign_to_component): New function. (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body): Add OP_NAME case. (ada_forward_operator_length, ada_dump_subexp_body): Add OP_STRING case. * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS, OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
2006-01-02 * ada-lang.c (process_raise_exception_name): Remove extraneousPaul N. Hilfinger5-43/+330
definition from unsubmitted code. (is_lower_alphanum): New function. (ada_decode): Add support for decoding protected object subprograms and entries, and of entities declared inside protected object subprograms. Also add missing handling for__{DIGITS}+ suffixes. Allow '$<digits>' as valid overloading suffix. (is_name_suffix): Add handling for protected type entriy suffixes. Also add support for protected type subprogram suffixes, but keep it commented out for now, as there is an ambiguity between these entities and other internally generated entities. Allow '$<digits>' as valid overloading suffix. (is_valid_name_for_wild_match): New function. (wild_match): Add an exra level of verification of the entity name before declaring it a match for the given pattern. (ada_type_of_array, ada_evaluate_subexp): Use more proper longest_to_int rather than cast. (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment. (ada_coerce_to_simple_array): Call check_size to make sure that the object size is reasonable. (ada_value_primitive_packed_val): Use correct location in target buffer for extracting packed record fields that are themselves records. (add_defn_to_vec): Do not try to replace a stub type by its full type. Avoids a potential infinite loop. (ada_lookup_symbol): Move return incorrectly placed return statement, causing a loop that should be scanning all object files to only scan the first one. (ada_tag_name_2): New function. (ada_tag_name_1): If no 'tsd' field found in the dispatching table, use alternative representation. (ada_find_renaming_symbol): Strip the function name suffix when computing the XR type name. (ada_to_fixed_type): Try determining the tag only if we have the object's address. (to_fixed_array_type): Add comments. (ada_check_typedef): Replace expression checking whether the given type is a stub or not by a "call" to TYPE_STUB. Clearer and more consistent. * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow '$' in addition to '.' for runtime auxiliary function name suffixes. See changes to ada_decode above. (struct task_control_block): Add field called_task. (This change is to keep synchronized with our local sources; it does not affect the public version yet.) * ada-typeprint.c (ada_print_type): Use int_string for printing modulus of modular type. (print_range): Trivial editorial comment fix. * ada-valprint.c (ada_emit_char): Use normal Ada syntax for double quote in string.
2006-01-02 * top.c: Add 2006 to list of copyright years in file header.Joel Brobecker2-1/+5
2006-01-02 * top.c (print_gdb_version): Update copyright year to 2006.Joel Brobecker2-1/+5
2006-01-022006-01-01 Roger Sayle <roger@eyesopen.com>Jim Blandy2-1/+12
Elena Zannoni <ezannoni@redhat.com> PR symtab/1651 * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab for NULL before assigning this_symtab_psymtab->objfile to objfile. (scan_xcoff_symtab): Initialize next_symbol_text_func. (Committed by Jim Blandy)
2006-01-02Rotate ChangeLogs.Jim Blandy2-6736/+6744
2006-01-02*** empty log message ***gdbadmin1-1/+1
2006-01-01daily updateAlan Modra1-1/+1
2006-01-01 * elf64-ppc.c (ppc64_elf_action_discarded): Return 0Jakub Jelinek2-1/+9
for .toc1 section.
2006-01-01*** empty log message ***gdbadmin1-1/+1
2005-12-31 * elf32-sh.c (sh_elf_relocate_section): Don't reset relocationKaz Kojima2-1/+8
for R_SH_REL32 in shared objects if the symbol is locally called.
2005-12-31 * elf64-ppc.c (ppc64_elf_relocate_section): Adjust relocs againstAlan Modra2-17/+37
opd section sym when opd has been edited. Use correct addend when determining branch 'y' bit and branch overflow. Adjust and save opd relocs for ld -r too.
2005-12-312005-12-30 Eric Christopher <echristo@apple.com>Eric Christopher2-4/+15
* elfxx-mips.c (mips_elf_record_global_got_symbol): Add assert to verify we have a got. (_bfd_mips_elf_check_relocs): Add R_MIPS_TLS_GOTTPREL to relocs needing a GOT.
2005-12-31*** empty log message ***gdbadmin1-1/+1
2005-12-30include:Bob Wilson5-173/+172
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New. gas: * config/tc-xtensa.c (op_placement_info_struct): Delete single, single_size, widest, and widest_size fields. Add narrowest_slot. (xg_emit_insn_to_buf): Remove fmt parameter and compute it here. Use xg_get_single_slot to find the slot. (finish_vinsn): Use emit_single_op instead of bundle_single_op. (bundle_single_op): Rename this to.... (bundle_tinsn): ...this function, which builds a vliw_insn but does not call finish_vinsn. (emit_single_op): Use bundle_tinsn instead of bundle_single_op. (relax_frag_immed): Get num_slots from cur_vinsn. (convert_frag_narrow): Update call to xg_emit_insn_to_buf. (convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn. (init_op_placement_info_table): Set narrowest_slot field. Remove code for deleted fields. (xg_get_single_size): Return narrowest_size field, not single_size. (xg_get_single_format): Return narrowest field, not single. (xg_get_single_slot): New. (tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf. * config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations. (transition_applies): Check wide branch option availability.
2005-12-30daily updateAlan Modra1-1/+1
2005-12-30 * configure.host (hppa*64*-*-hpux*): Set host64 to true.Dave Anglin2-2/+8
2005-12-30 * readelf.c (get_machine_name): Add case for Blackfin.Jie Zhang2-0/+5
2005-12-30 * config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.Bob Wilson2-0/+5
2005-12-30*** empty log message ***gdbadmin1-1/+1
2005-12-29daily updateAlan Modra1-1/+1
2005-12-29 * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.Bob Wilson2-2/+4
2005-12-29(bfd_hash_set_default_size): Add more entries to the hash_size_primes table.Nick Clifton2-1/+4
2005-12-29(_bfd_link_section_stabs): Use bfd_hash_table_init rather thanNick Clifton2-3/+8
bfd_hash_table_init_n(...,251) so that the size of the hash table can be controlled by the user.
2005-12-29*** empty log message ***gdbadmin1-1/+1
2005-12-28daily updateAlan Modra1-1/+1
2005-12-28 * gdb.texinfo (Registers): Describe how to refer to SSE and MMXEli Zaretskii2-0/+35
registers and the likes.
2005-12-28* gdb.asm/asm-source.exp (hppa-*-openbsd*): New.Mark Kettenis3-1/+11
* gdb.asm/openbsd.inc: Indent commands.
2005-12-28 * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.Jie Zhang3-3/+10
And add a prefix '_' to ENTRY. * scripttempl/elf.sc: Add END_SYMBOLS.
2005-12-28*** empty log message ***gdbadmin1-1/+1
2005-12-27daily updateAlan Modra1-1/+1
2005-12-27 * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.Bob Wilson2-12/+5
(LDEMUL_PLACE_ORPHAN): Delete.
2005-12-27 * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executableDave Anglin2-1/+6
instead of !info->shared.
2005-12-272005-12-27 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2-0/+8
* vaxlinux.h: New file. (TRAD_CORE_EXTRA_SIZE_ALLOWED): Define. (HOST_MACHINE_ARCH): Define. This allows cross-building vax-linux hosted binutils.
2005-12-27* sparc64obsd-tdep.c: Include "gdbcore.h", "regcache.h" amdMark Kettenis3-4/+104
"bsd-uthread.h". (SPARC64OBSD_UTHREAD_FP_OFFSET, SPARC64OBSD_UTHREAD_PC_OFFSET): New defines. (sparc64obsd_supply_uthread, sparc64obsd_collect_uthread): New functions. (sparc64obsd_init_abi): Set supply_uthread and collect_uthread. * Makefile.in (sparc64obsd-tdep.o): Update dependencies.
2005-12-272005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw1-0/+4
* MAINTAINERS: Add myself as VAX maintainer.
2005-12-27 * config/tc-mt.c (mt_arch): Default to ms1_16_002.Nathan Sidwell2-9/+15
(md_parse_options): Only allow lowercase. (md_show_usage): Update.
2005-12-27 * elf32-mt.c (mt_elf_merge_private_bfd_data): Do not allow mixingNathan Sidwell2-12/+10
object files from different mt variants.
2005-12-27Add support for RDOS targets.Nick Clifton9-107/+155
2005-12-27PR binutils/1990Nick Clifton2-9/+113
* libtool.m4: Synchronize with version in GCC sources.
2005-12-27(lookup_symbol_in_function_table): Check for a function name before passingNick Clifton2-0/+6
it to strcmp.
2005-12-27* sparcobsd-tdep.c: Include "gdbcore.h", "regcache.h" andMark Kettenis5-5/+108
"bsd-uthread.h". (SPARC32OBSD_UTHREAD_FP_OFFSET, SPARC32OBSD_UTHREAD_PC_OFFSET): New defines. (sparc32obsd_supply_uthread, sparc32obsd_collect_uthread): New functions. (sparc32obsd_init_abi): Set supply_uthread and collect_uthread. * Makefile.in (sparcobsd-tdep.o): Update dependencies. * config/sparc/obsd.mt (TDEPFILES): Add bsd-uthread.o. * config/sparc/obsd64.mt (TDEPFILES): Likewise.
2005-12-27PR 1300Nick Clifton2-2/+9
* config/tc-arm.c (md_apply_fix): Fix casts to match type in printf format.
2005-12-27Add new Vietnamese translationNick Clifton4-2/+1952
2005-12-27 * elf.c (elf_find_function): Don't ignore section syms.Alan Modra2-8/+9
Simplify filename logic.
2005-12-27missed copyright 2005 additionAlan Modra1-1/+1
2005-12-27 * elfread.c (elf_symfile_read): Don't make synth syms global.Alan Modra2-7/+5
2005-12-27 * elf32-ppc.c (add_stub_sym): Pass info rather than htab.Alan Modra2-11/+24
Use different names for pic vs non-pic, '.' instead of '_'. (allocate_dynrelocs): Adjust add_stub_sym call.
2005-12-27 * elf.c (bfd_section_from_shdr): Treat invalid reloc sections asAlan Modra2-6/+12
normal sections rather than returning false.
2005-12-27 * coff-h8300.c (h8300_reloc16_extra_cases): Use input sectionAlan Modra8-38/+47
"output_offset" instead of link order "offset". * coff-h8500.c (extra_case): Likewise. * coff-w65.c (w65_reloc16_extra_cases): Likewise. * coff-z80.c (extra_case): Likewise. * coff-z8k.c (extra_case): Likewise. * linker.c (default_indirect_link_order): Likewise, "size" too. * ecoff.c (ecoff_indirect_link_order): Likewise.