aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-12-11From Cary Coutant: Set DF_STATIC_TLS as appropriate.Ian Lance Taylor4-1/+24
2007-12-11daily updateAlan Modra1-1/+1
2007-12-11 * config/tc-xtensa.c (frag_format_size): Handle frags that expand toBob Wilson2-12/+50
wide branches. (get_aligned_diff): For RELAX_ALIGN_NEXT_OPCODE, skip to the next non-empty frag to find the LOOP instruction. Change comma typo to a semicolon. (relax_frag_immed, convert_frag_immed): Rename wide_insn variable to from_widen_insn.
2007-12-11From Cary Coutant: Fix x86_64 TLS problem.Ian Lance Taylor1-25/+32
2007-12-11From Craig Silverstein: Speed up ODR violation reporting.Ian Lance Taylor2-14/+27
2007-12-11 * bfd/elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx ifCatherine Moore5-0/+23
the symbol's section is the undefined section. * gas/testsuite/gas/elf/symtab.s: New test. gas/testsuite/gas/elf/symtab.d: New expected output. gas/testsuite/gas/elf/elf.exp: Run the new symbtab test.
2007-12-11 * dwarf2.h (DW_AT_hi_user): Correct value.Daniel Jacobowitz2-1/+5
2007-12-11From Cary Coutant: Handle TLS entry for TLS module index.Ian Lance Taylor1-33/+37
2007-12-11*** empty log message ***gdbadmin1-1/+1
2007-12-10warning messages should contain "warning:"Alan Modra2-1/+6
2007-12-10 * config/tc-m32r.c (md_begin): Mark .sbss as being bss style section.Alan Modra2-0/+5
2007-12-10daily updateAlan Modra1-1/+1
2007-12-10Keep views on views_ list so that they can be found again.Ian Lance Taylor1-13/+19
2007-12-10 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being readJan Kratochvil2-0/+6
must be set to binary.
2007-12-10gas/Richard Sandiford8-23/+197
* config/tc-mips.h (mips_nop_opcode): Declare. (NOP_OPCODE): Define. (mips_segment_info): New structure. (TC_SEGMENT_INFO_TYPE): Use it instead of insn_label_list. * config/tc-mips.c (label_list): Adjust for new TC_SEGMENT_INFO_TYPE. (mips_record_mips16_mode): New function. (install_insn): Call it. (mips_align): Likewise. Turn the fill argument into an "int *". Use frag_align_code for code segments if no fill data is given. (s_align): Adjust call accordingly. (mips_nop_opcode): New function. (mips_handle_align): Use the first variable byte to decide which nop sequence is needed. Use md_number_to_chars and mips16_nop_insn. gas/testsuite/ * gas/mips/align2.s, gas/mips/align2.d, gas/mips/align2-el.d: New tests. * gas/mips/mips.exp: Run them.
2007-12-10*** empty log message ***gdbadmin1-1/+1
2007-12-09daily updateAlan Modra1-1/+1
2007-12-09 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.Pedro Alves2-34/+4
2007-12-09*** empty log message ***gdbadmin1-1/+1
2007-12-08daily updateAlan Modra1-1/+1
2007-12-08Released gold-alpha 0.9.Craig Silverstein1-1/+1
2007-12-08From Craig Silverstein: Fix error message, add this->.Ian Lance Taylor3-4/+4
2007-12-08 * readelf.c (is_32bit_pcrel_reloc): Add Xtensa.Bob Wilson2-0/+7
2007-12-08*** empty log message ***gdbadmin1-1/+1
2007-12-07From Cary Coutant: Fix x86_64 TLS. Also set DT_TEXTREL as well asIan Lance Taylor2-18/+24
DF_TEXTREL.
2007-12-07daily updateAlan Modra1-1/+1
2007-12-072007-12-07 Bob Wilson <bob.wilson@acm.org>Bob Wilson12-77/+161
include/elf/ * xtensa.h (R_XTENSA_32_PCREL): New. bfd/ * elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL. (elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL. (elf_xtensa_check_relocs): Use default case for all relocations that need nothing done here. (elf_xtensa_do_reloc): Compute self_address for all relocation types. Handle R_XTENSA_32_PCREL. (elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic symbols. (check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations. gas/ * config/tc-xtensa.c (O_pcrel): Define. (suffix_relocs): Add pcrel suffix. (md_pseudo_table): Add 4byte and 2byte directives. (xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp. (xg_assemble_literal): Likewise. Check for O_pcrel. (expression_maybe_register): Reorganize. Handle BFD_RELOC_32_PCREL. (xg_valid_literal_expression): Allow O_pcrel. (md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL. (tc_gen_reloc): Fix punctuation in error message. gas/testsuite/ * gas/xtensa/all.exp: Run new pcrel test. * gas/xtensa/err-pcrel.s: New. * gas/xtensa/pcrel.d: New. * gas/xtensa/pcrel.s: New. * gas/xtensa/xtensa-err.exp: New.
2007-12-07From Cary Coutant: Fix handling of RELATIVE RELA relocs.Ian Lance Taylor6-111/+200
2007-12-07* mips-tdep.c (extended_offset): Fix a comment.Maciej W. Rozycki2-1/+5
2007-12-07* target.c (update_current_target): Inherit to_log_command.Maciej W. Rozycki8-1/+27
* target.h (struct target_ops). Add to_log_command. (target_log_command): New macro. * top.c (execute_command): Call target_log_command() rather than serial_log_command(). * monitor.c (init_base_monitor_ops): Initialize to_log_command. * remote-m32r-sdi.c (init_m32r_ops): Likewise. * remote-mips.c (_initialize_remote_mips): Likewise. * remote.c (init_remote_ops): Likewise.
2007-12-07 * server.c (myresume): Add own_buf argument.Daniel Jacobowitz2-5/+10
(main): Update calls.
2007-12-07Fix ehframe header handling for shared libraries.Ian Lance Taylor3-5/+30
2007-12-07 * linux-low.c (linux_wait, linux_resume): Do not handle async I/O.Daniel Jacobowitz6-48/+48
* remote-utils.c (remote_open): Do not call disable_async_io. (block_async_io): Delete. (unblock_async_io): Make static. (initialize_async_io): New. * server.c (handle_v_cont): Handle async I/O here. (myresume): Likewise. Move other common resume tasks here... (main): ... from here. Call initialize_async_io. Disable async I/O before the main loop. * server.h (initialize_async_io): Declare. (block_async_io, unblock_async_io): Delete prototypes. * spu-low.c (spu_resume, spu_wait): Do not handle async I/O here.
2007-12-07 * config/tc-xtensa.c (xg_force_frag_space): Delete.Bob Wilson2-178/+70
(xg_finish_frag, xg_assemble_literal_space): Replace calls to it. (xtensa_create_property_segments, xtensa_create_xproperty_segments): Set output_section for new property sections. Use subseg_set and seg_info instead of retrieve_segment_info. Adjust arguments to add_xt_block_frags and add_xt_prop_frags. Use standard functions to create frags and fix records. (retrieve_segment_info): Delete. (add_xt_block_frags, add_xt_prop_frags): Replace calls to retrieve_segment_info. Remove unused xt_block_sec arguments.
2007-12-07From Cary Coutant: Some x86_64 shared library fixes.Ian Lance Taylor1-19/+12
2007-12-07From Cary Coutant: Remove commented out assert. Also add comment forIan Lance Taylor1-4/+3
bitfield check.
2007-12-07 * infrun.c (init_wait_for_inferior): Reset target_last_wait_ptid.Daniel Jacobowitz2-1/+10
(handle_inferior_event): Clear stop_stack_dummy earlier.
2007-12-07*** empty log message ***gdbadmin1-1/+1
2007-12-06 * addrmap.c (addrmap_splay_tree_remove): New function.Jim Blandy2-1/+11
(addrmap_mutable_set_empty): Use it.
2007-12-06daily updateAlan Modra1-1/+1
2007-12-06config/Richard Sandiford3-4/+9
* mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =. * mt-mips-elfoabi: Likewise.
2007-12-06* addrmap.c, addrmap.h: Update to GPLv3.Jim Blandy3-23/+35
* addrmap.c (struct addrmap): Make the referenced function table const. (addrmap_fixed_funcs, addrmap_mutable_funcs): Declare const. Don't use designated initializers. * addrmap.c (addrmap_fixed_create_fixed, addrmap_mutable_find) (addrmap_mutable_relocate): Use internal_error, not abort.
2007-12-06From Craig Silverstein: Reorganize testsuite Makefile.am.Ian Lance Taylor2-443/+517
2007-12-06* NEWS: Mention support for non-contiguous lexical blocks andJim Blandy2-0/+9
function bodies.
2007-12-06 * gdbarch.sh (stab_reg_to_regnum, dwarf_reg_to_regnum)Markus Deuling20-67/+90
( dwarf2_reg_to_regnum, sdb_reg_to_regnum, ecoff_reg_to_regnum): Add gdbarch as parameter. * gdbarch.{c,h}: Regenerate. * xtensa-tdep.c (xtensa_reg_to_regnum): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. * s390-tdep.c (s390_dwarf_reg_to_regnum): Likewise. * rs6000-tdep.c (rs6000_stab_reg_to_regnum) (rs6000_dwarf2_reg_to_regnum): Likewise. * mips-tdep.c (mips_stab_reg_to_regnum) (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise. * mep-tdep.c (mep_debug_reg_to_regnum): Likewise. * m32c-tdep.c (m32c_debug_info_reg_to_regnum): Likewise. * i386-tdep.c (i386_dbx_reg_to_regnum) (i386_svr4_reg_to_regnum): Likewise * h8300-tdep.c (h8300s_dbg_reg_to_regnum) (h8300_dbg_reg_to_regnum): Likewise. * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Likewise. * arch-utils.c (no_op_reg_to_regnum): Likewise. * arch-utils.h (no_op_reg_to_regnum): Likewise. * arm-tdep.c (arm_dwarf_reg_to_regnum): Likewise. * cris-tdep.c (cris_dwarf2_reg_to_regnum): Likewise. * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Likewise. * ia64-tdep.c (ia64_dwarf_reg_to_regnum): Likewise. * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
2007-12-062007-12-06 Mick Davis <mickd@goanna.iinet.net.au>Daniel Jacobowitz2-1/+5
* remote-utils.c (readchar): Allow binary data in received messages.
2007-12-06 Localize infrun use of remove_breakpoints.Vladimir Prus2-5/+14
* infrun.c (handle_inferior_event): Remove calls to remove_breakpoints, except where needed to communicate change of breakpoint locations to inferior. (keep_going): If steppping over breakpoint, remove breakpoints.
2007-12-06 Clarify infrun variable naming.Vladimir Prus4-50/+99
* infrun.c (trap_expected): Rename to stepping_over_breakpoint. Document. (stepping_past_breakpoint): Remove. (stepping_past_breakpoint_ptdi): Renamed to deferred_step_ptid. (struct execution_control_state): Rename the another_trap field to stepping_over_breakpoint. (struct inferior_status): Rename the trap_expected field to stepping_over_breakpoint. (clear_proceed_status, proceed) (init_execution_control_state, context_switch) (handle_inferior_event, currently_stepping) (keep_going, save_inferior_status) (restore_inferior_status, prepare_to_proceed): Adjust. * gdbthread.h (struct thread_info): Rename the trap_expected field to stepping_over_breakpoint. * thread.c (load_infrun_state, save_infrun_state): Adjust.
2007-12-062007-12-06 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller4-15/+36
* win32-nat.c: Allow compilation if CORE_ADDR is 8 byte long. Add "gdb_stdint.h" dependency required for uintptr_t type use. (handle_output_debug_string): Use uintptr_t typecast. (handle_exception): Ditto. (win32_xfer_memory): Ditto. * Makefile.in (win32-nat.o): Add dependency to gdb_stdint header.
2007-12-06Initialize variable to avoid warning.Ian Lance Taylor1-1/+1