Skip to content
Snippets Groups Projects
  1. Sep 01, 2009
    • Jan Kratochvil's avatar
      gdb/testsuite/ · 817aadd2
      Jan Kratochvil authored
      	* gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
      	gdb.base/solib-overlap-main.c: New.
      817aadd2
    • Hui Zhu's avatar
      2009-09-01 Hui Zhu <teawater@gmail.com> · 14c6ee20
      Hui Zhu authored
      	* record.c (record_resume): Change "siggnal" to "signal".
      14c6ee20
    • Jie Zhang's avatar
      * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed · 83ee431c
      Jie Zhang authored
      	in comparison.
      
      	testsuite/
      	* gas/bfin/expected_comparison_errors.s: Add more cases.
      	* gas/bfin/expected_comparison_errors.l: Update accordingly.
      83ee431c
    • Jie Zhang's avatar
      2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com> · 08c1b056
      Jie Zhang authored
      	* config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
      	2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
      
      	2007-08-23  Jie Zhang  <jie.zhang@analog.com>
      	* config/tc-bfin.c (bfin_fix_adjustable): Adjust
      	BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
      	BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
      08c1b056
    • Hui Zhu's avatar
      2009-08-31 Hui Zhu <teawater@gmail.com> · 88fef440
      Hui Zhu authored
      	* record.c (record_resume_siggnal): Deleted.
      	(record_resume): Ditto.
      	(record_wait): Change record_resume_siggnal to
      	TARGET_SIGNAL_0.
      88fef440
    • Jie Zhang's avatar
      * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext, · 8d17e044
      Jie Zhang authored
      	_stack and __bss_start.
      	* emulparams/bfin.sh (ENTRY): Remove.
      8d17e044
    • Jie Zhang's avatar
      * read.c (TC_START_LABEL): Add a new argument. · 5e8c8f8f
      Jie Zhang authored
      	(read_a_source_file): Pass the beginning of the symbol through
      	the new argument of TC_START_LABEL.
      	* config/tc-arm.h (TC_START_LABEL): Add a new argument.
      	* config/tc-bfin.c (bfin_start_label): Only search '(' and '['
      	from the beginning of the symbol.
      	* config/tc-bfin.h (TC_START_LABEL): Add the new argument.
      	* config/tc-d30v.h (TC_START_LABEL): Likewise.
      	* config/tc-fr30.h (TC_START_LABEL): Likewise.
      	* config/tc-m32c.h (TC_START_LABEL): Likewise.
      	* config/tc-m32r.h (TC_START_LABEL): Likewise.
      	* config/tc-mep.h (TC_START_LABEL): Likewise.
      
      	testsuite/
      	* gas/bfin/stack2.s: Add pop multiple instruction with a label
      	on the same line.
      	* gas/bfin/stack2.d: Adjust accordingly.
      5e8c8f8f
    • Alan Modra's avatar
      daily update · 194ca99d
      Alan Modra authored
      194ca99d
    • gdbadmin's avatar
      *** empty log message *** · d187c47f
      gdbadmin authored
      d187c47f
    • DJ Delorie's avatar
      merge from gcc · 0f72f85c
      DJ Delorie authored
      0f72f85c
  2. Aug 31, 2009
    • Doug Evans's avatar
      Implement TARGET_OBJECT_STACK_MEMORY. · 4e5d721f
      Doug Evans authored
      	* NEWS: Add note on new "set stack-cache" option.
      	* corefile.c (read_stack): New function.
      	* dcache.c (dcache_struct): New member ptid.
      	(dcache_enable_p): Mark as obsolete.
      	(show_dcache_enabled_p): Flag option as deprecated.
      	(dcache_invalidate): Update ptid.
      	(dcache_invalidate_line): New function.
      	(dcache_read_line): No longer check cacheable attribute, stack
      	accesses get cached despite attribute.
      	(dcache_init): Set ptid.
      	(dcache_xfer_memory): Flush cache if from different ptid than before.
      	Update cache after write.
      	(dcache_update): New function.
      	(dcache_info): Report ptid.
      	(_initialize_dcache): Update text for `remotecache' to indicate it
      	is obsolete.
      	* dcache.h (dcache_update): Declare.
      	* dwarf2loc.c (dwarf2_evaluate_loc_desc): Mark values on stack with
      	set_value_stack.
      	* frame-unwind.c (frame_unwind_got_memory): Ditto.
      	* gdbcore.h (read_stack): Declare.
      	* memattr.c (mem_enable_command): Call target_dcache_invalidate
      	instead of dcache_invalidate.
      	(mem_disable_command, mem_delete_command): Ditto.
      	* target.c (stack_cache_enabled_p_1): New static global.
      	(stack_cache_enabled_p): New static global.
      	(set_stack_cache_enabled_p): New function.
      	(show_stack_cache_enabled_p): New function.
      	(target_dcache): Make static.
      	(target_dcache_invalidate): New function.
      	(target_load, target_resume): Call target_dcache_invalidate
      	instead of dcache_invalidate.
      	(memory_xfer_partial): New arg object, all callers updated.
      	Check for existing inferior before calling dcache routines.
      	When writing non-TARGET_OBJECT_STACK_MEMORY, notify dcache.
      	(target_xfer_partial): Call memory_xfer_partial for
      	TARGET_OBJECT_STACK_MEMORY.
      	(target_read_stack): New function.
      	(initialize_targets): Install new option `stack-cache'.
      	* target.h: Remove #include of dcache.h.
      	(enum target_object): New value TARGET_OBJECT_STACK_MEMORY.
      	(target_dcache): Delete.
      	(target_dcache_invalidate): Declare.
      	(target_read_stack): Declare.
      	* top.c (prepare_execute_command): New function.
      	(execute_command): Call prepare_execute_command
      	instead of free_all_values.
      	* top.h (prepare_execute_command): Declare.
      	* valops.c (get_value_at): New function.
      	(value_at): Guts moved to get_value_at.
      	(value_at_lazy): Similarly.
      	(value_fetch_lazy): Call read_stack for stack values.
      	* value.c (struct value): New member `stack'.
      	(value_stack, set_value_stack): New functions.
      	* value.h (value_stack, set_value_stack): Declare.
      	* mi/mi-main.c (mi_cmd_execute): Call prepare_execute_command
      	instead of free_all_values.
      
      	doc/
      	* gdb.texinfo (Caching Data of Remote Targets): Update text.
      	Mark `set/show remotecache' options as obsolete.
      	Document new `set/show stack-cache' option.
      	Update text for `info dcache'.
      4e5d721f
    • H.J. Lu's avatar
      2009-08-31 H.J. Lu <hongjiu.lu@intel.com> · f1c2d4af
      H.J. Lu authored
      	PR gas/10570
      	* write.c (write_object_file): Revert the accidental change
      	made in revision 1.124 on 2009-08-17.
      f1c2d4af
    • Dave Korn's avatar
      * ltmain.sh (func_normal_abspath): New function. · a69e7d0a
      Dave Korn authored
      	(func_relative_path): Likewise.
      	(func_mode_help): Document new -bindir option for link mode.
      	(func_mode_link): Add new -bindir option, and use it to place
      	output DLL if specified.
      a69e7d0a
    • Jan Beulich's avatar
      bfd/ · 94be91de
      Jan Beulich authored
      2009-08-31  Jan Beulich  <jbeulich@novell.com>
      
      	* elf-bfd.h (bfd_elf_get_default_section_type): Declare.
      	* elf.c (bfd_elf_get_default_section_type): New.
      	(elf_fake_sections): Use bfd_elf_get_default_section_type.
      
      gas/
      2009-08-31  Jan Beulich  <jbeulich@novell.com>
      
      	* config/obj-elf.c (obj_elf_change_section): Set default type
      	by calling bfd_elf_get_default_section_type.
      
      gas/testsuite/
      2009-08-31  Jan Beulich  <jbeulich@novell.com>
      
      	* gas/elf/section5.l: Remove no longer issued warning pattern.
      94be91de
    • Jie Zhang's avatar
    • Jie Zhang's avatar
      e690f7f3
    • Alan Modra's avatar
      425621e7
    • gdbadmin's avatar
      *** empty log message *** · 6e47323b
      gdbadmin authored
      6e47323b
    • Alan Modra's avatar
      daily update · ec2ce969
      Alan Modra authored
      ec2ce969
  3. Aug 30, 2009
    • H.J. Lu's avatar
      2009-08-30 H.J. Lu <hongjiu.lu@intel.com> · 883c7410
      H.J. Lu authored
      	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the
      	accidental checkin.
      	* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.
      883c7410
    • Alan Modra's avatar
      PR ld/10569 · 3021a723
      Alan Modra authored
      	* ld-elf/commonpage2.d: New.
      	* ld-elf/maxpage4.d: Likewise.
      	* ld-elf/maxpage4.t: Likewise.
      3021a723
    • Alan Modra's avatar
      PR ld/10569 · 8be573a7
      Alan Modra authored
      	* ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
      	(fold_name <COMMONPAGESIZE>): Similarly.
      	* ldlang.c (output_target): Make global.
      	* ldlang.h (output_target): Declare.
      	* ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
      	Similarly for config.commonpagesize.
      	* ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
      	and bfd_emul_set_commonpagesize.
      	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
      	bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
      8be573a7
    • Alan Modra's avatar
      PR ld/10569 · 095106a2
      Alan Modra authored
      	* bfd.c (bfd_emul_get_maxpagesize): Don't abort.
      	(bfd_emul_get_commonpagesize): Likewise.
      095106a2
    • Alan Modra's avatar
      daily update · 2c80e933
      Alan Modra authored
      2c80e933
    • gdbadmin's avatar
      *** empty log message *** · 5b2c6921
      gdbadmin authored
      5b2c6921
    • Nick Clifton's avatar
      Updated sources to avoid using the identifier name "new", which is a · d3ce72d0
      Nick Clifton authored
              keyword in c++.
      
              * bfd/aoutx.h (NAME (aout, make_empty_symbol)): Rename variable
              new to new_symbol.
              * bfd/coffgen.c (coff_make_empty_symbol)
              (coff_bfd_make_debug_symbol): Rename variable new to new_symbol.
              * bfd/cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable
              new to new_insn.
              * bfd/doc/chew.c (newentry, add_intrinsic): Rename variable new to
              new_d.
              * bfd/ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new
              to new_symbol.
              * bfd/elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument
              new to new_reloc.
              * bfd/hash.c (bfd_hash_lookup): Rename variable new to new_string.
              * bfd/ieee.c (ieee_make_empty_symbol): Rename variable new to
              new_symbol.
              * bfd/linker.c (bfd_new_link_order): Rename variable new to
              new_lo.
              * bfd/mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to
              symbol.
              * bfd/oasys.c (oasys_make_empty_symbol): Rename variable new to
              new_symbol_type.
              * bfd/pdp11.c (NAME (aout, make_empty_symbol)): Rename variable
              new to new_symbol_type.
              * bfd/plugin.c (bfd_plugin_make_empty_symbol): Rename variable new
              to new_symbol.
              * bfd/rs6000-core.c (CoreHdr, VmInfo): Rename union member new to
              new_dump.
              (read_hdr, rs6000coff_core_p)
              (rs6000coff_core_file_matches_executable_p)
              (rs6000coff_core_file_failing_command)
              (rs6000coff_core_file_failing_signal): Updated function to use new
              union member name.
              * bfd/som.c (som_make_empty_symbol): Rename variable new to
              new_symbol_type.
              * bfd/syms.c (_bfd_generic_make_empty_symbol): Rename variable new
              to new_symbol.
              * bfd/tekhex.c (first_phase, tekhex_make_empty_symbol): Rename
              variable new to new_symbol.
              * binutils/nlmconv.c (main): Rename variable new to new_name.
              * gas/config/tc-arm.c (insert_reg_alias): Rename variable new to
              new_reg.
              * gas/config/tc-dlx.c (parse_operand): Rename variable new to
              new_pos.
              * gas/config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
              new to newr.
              * gas/config/tc-mcore.c (parse_exp, parse_imm): Rename variable
              new to new_pointer.
              * gas/config/tc-microblaze.c (parse_exp, parse_imm, check_got):
              Change name from new to new_pointer.
              * gas/config/tc-or32.c (parse_operand): Rename variable new to
              new_pointer.
              * gas/config/tc-pdp11.c (md_assemble): Rename variable new to
              new_pointer.
              * gas/config/tc-pj.c (alias): Change argument new to new_name.
              * gas/config/tc-score.c (s3_build_score_ops_hsh): Rename variable
              new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
              new to new_i2n. (s3_convert): Rename variables old and new to
              r_old and r_new.
              * gas/config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
              new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
              new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
              variables old and new to r_old and r_new.
              * gas/config/tc-sh.c (parse_exp): Rename variable new to
              new_pointer.
              * gas/config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
              new_pointer.
              * gas/config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
              to new_pointer.
              * gas/config/tc-z8k.c (parse_exp): Rename variable new to
              new_pointer.
              * gas/listing.c (listing_newline): Rename variable new to new_i.
              * ld/ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
              (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
              to new_e.
              * ld/ldfile.c (ldfile_add_library_path): Rename variable new to
              new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
              * ld/ldlang.c (new_statement, lang_final, lang_add_wild)
              (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
              (lang_add_insert): Rename variable new to new_stmt. (new_afile):
              Added missing cast. (lang_memory_region_lookup): Rename variable
              new to new_region. (init_os): Rename variable new to
              new_userdata. (lang_add_section): Rename variable new to
              new_section. (ldlang_add_undef): Rename variable new to
              new_undef. (realsymbol): Rename variable new to new_name.
              * opcodes/z8kgen.c (internal, gas): Rename variable new to new_op.
      
              Updated sources to avoid using the identifier name "template",
              which is a keyword in c++.
      
              * bfd/elf32-arm.c (struct stub_def): Rename member template to
              template_sequence. (arm_build_one_stub,
              find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub):
              Rename variable template to template_sequence.
              * bfd/elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl):
              Rename variable template to template_val.
              * gas/config/tc-arm.c (struct asm_cond, struct asm_psr, struct
              asm_barrier_opt): Change member template to
              template_name. (md_begin): Update code to reflect new member
              names.
              * gas/config/tc-i386.c (struct templates, struct _i386_insn)
              (match_template, cpu_flags_match, match_reg_size, match_mem_size)
              (operand_size_match, md_begin, i386_print_statistics, pi)
              (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
              (optimize_disp): Updated code to use new names. (parse_insn):
              Added casts.
              * gas/config/tc-ia64.c (dot_template, emit_one_bundle): Updated
              code to use new names.
              * gas/config/tc-score.c (struct s3_asm_opcode): Renamed member
              template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
              s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
              use new names.
              * gas/config/tc-score7.c (struct s7_asm_opcode): Renamed member
              template to template_name. (s7_parse_16_32_inst,
              s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
              use new names.
              * gas/config/tc-tic30.c (md_begin, struct tic30_insn)
              (md_assemble): Update code to use new names.
              * gas/config/tc-tic54x.c (struct _tic54x_insn, md_begin)
              (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
              Update code to use new names.
              * include/opcode/tic30.h (template): Rename type template to
              insn_template. Updated code to use new name.
              * include/opcode/tic54x.h (template): Rename type template to
              insn_template.
              * opcodes/cris-dis.c (bytes_to_skip): Update code to use new name.
              * opcodes/i386-dis.c (putop): Update code to use new name.
              * opcodes/i386-gen.c (process_i386_opcodes): Update code to use
              new name.
              * opcodes/i386-opc.h (struct template): Rename struct template to
              insn_template. Update code accordingly.
              * opcodes/i386-tbl.h (i386_optab): Update type to use new name.
              * opcodes/ia64-dis.c (print_insn_ia64): Rename variable template
              to template_val.
              * opcodes/tic30-dis.c (struct instruction, get_tic30_instruction):
              Update code to use new name.
              * opcodes/tic54x-dis.c (has_lkaddr, get_insn_size)
              (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
              Update code to use new name.
              * opcodes/tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
              Update type to new name.
      d3ce72d0
  4. Aug 29, 2009
  5. Aug 28, 2009
    • H.J. Lu's avatar
      gas/ · 3632d14b
      H.J. Lu authored
      2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
      	(i386_align_code): Handle PROCESSOR_L1OM.
      	(check_cpu_arch_compatible): Fix a typo in comments.
      	(set_cpu_arch): Check cpu_arch_isa instead of
      	cpu_arch_isa_flags.bitfield.cpul1om.
      	(i386_mach): Likewise.
      	(i386_target_format): Likewise.
      
      	* config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
      
      gas/testsuite/
      
      2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gas/i386/l1om.d: Check elf64-l1om format.
      3632d14b
    • Daniel Jacobowitz's avatar
      PR gdb/10565 · 4a76eae5
      Daniel Jacobowitz authored
      	* value.c (value_primitive_field): Do not save value_offset for
      	bitfields.
      	(unpack_bits_as_long): Do not read an entire ULONGEST.
      
      	testsuite/
      	PR gdb/10565
      
      	* gdb.base/bitfields.c (struct container, container): New.
      	(main): Initialize it and call break5.
      	* gdb.base/bitfields.exp (bitfield_at_offset): New test.
      4a76eae5
    • Jan Kratochvil's avatar
      gdb/ · d4b96c9a
      Jan Kratochvil authored
      	Support constant DW_AT_data_member_location by GCC PR debug/40659.
      	* dwarf2read.c
      	(dwarf2_add_field <DW_TAG_member> <DW_AT_data_member_location>):
      	Initialize BYTE_OFFSET to 0 by default.  Explicitly check if
      	attr_form_is_block.
      	(dwarf2_add_field <DW_TAG_inheritance> <DW_AT_data_member_location>)
      	(read_common_block <DW_AT_data_member_location>): New variable
      	byte_offset.  Fix crash on non-DW_BLOCK ATTR values.
      
      gdb/testsuite/
      	Support constant DW_AT_data_member_location by GCC PR debug/40659.
      	* gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
      d4b96c9a
    • Hui Zhu's avatar
      2009-08-28 Hui Zhu <teawater@gmail.com> · 12b1a979
      Hui Zhu authored
      	* record.c (record_list_release_next): Change the first
      	record_reg to record_end.
      12b1a979
    • Alan Modra's avatar
      daily update · 34e39bb7
      Alan Modra authored
      34e39bb7
    • gdbadmin's avatar
      *** empty log message *** · 1af1412d
      gdbadmin authored
      1af1412d
Loading