aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-02-22* gas/m68hc11/bug-1825.d: Update to match changes in theNick Clifton6-5/+13
information generated with source-in-disassembly listings. * gas/m68hc11/indexed12.d: Likewise. * gas/m68hc11/insns-dwarf2.d: Likewise. * gas/m68hc11/lbranch-dwarf2.d: Likewise.
2008-02-22 PR 868Nick Clifton2-82/+21
*dwarf2.c: Revert previous patch. All of the allocate memory is on an obstack which will be freed at some other time.
2008-02-22 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELFNick Clifton2-0/+7
targeted ARM ports.
2008-02-22 PR ld/5785Nick Clifton2-3/+8
* ldlang.c (lang_size_sections_1): Honour the setting of an lma_region even if there is no vma region set, or the vma region is the same as the lma region.
2008-02-22* objdump.c (display_file_offsets): New variable.Nick Clifton4-5/+57
(long_options): Add -F/--file-offsets. (objdump_print_addr_with_sym): If displaying file offsets, print the offset of the given address. (disassemble_bytes): If displaying file offsets, tell the user how many zeroes are skipped and the file offset of the point where dumping resumes. (disassemble_section): Only display the name of the section if data is going to be dumped from it. (main): Handle new option. Produce error messages if the start or stop addresses do not make sense. * doc/binutils.texi: Document the new feature. * NEWS: Mention the new feature.
2008-02-22*** empty log message ***gdbadmin1-1/+1
2008-02-21daily updateAlan Modra1-1/+1
2008-02-21 * remote.c (extended_remote_attach_1): Set attach_flag.Pedro Alves2-0/+7
(extended_remote_create_inferior_1): Clear attach_flag.
2008-02-21opcodes/Jan Beulich3-9/+16
2008-02-21 Jan Beulich <jbeulich@novell.com> * i386-opc.tbl: Allow Dword for far indirect call. Allow Dword and Fword for far indirect jmp. Allow Reg16 and Word for near indirect jmp on x86-64. Disallow Fword for lcall. * i386-tbl.h: Re-generate.
2008-02-21 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): SetDaniel Jacobowitz4-14/+93
r_brk_offset. (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. * solib-svr4.c (solib_svr4_r_brk): New. (open_symbol_file_object, svr4_current_sos): Always check the debug base. (svr4_fetch_objfile_link_map): Do not set debug_base. (enable_break): Use r_brk if it is set. (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. (svr4_lp64_fetch_link_map_offsets): Likewise. * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
2008-02-21*** empty log message ***gdbadmin1-1/+1
2008-02-20Correct year.H.J. Lu1-1/+1
2008-02-20daily updateAlan Modra1-1/+1
2008-02-20 * ld-auto-import/auto-import.exp: Use $ld to link the dll forNick Clifton2-2/+7
cygwin, not $CC.
2008-02-20PR 868Nick Clifton17-38/+110
* libbfd.c (bfd_realloc_or_free): New function. Performs like bfd_realloc, but if the (re)allocation fails, the pointer is freed. * libbfd-in.h: Prototype. * libbfd.h: Regenerate. * bfdio.c (bfd_bwrite): Use the new function. (bfd_seek): Likewise. * bfdwin.c:(bfd_get_file_window): Likewise. * elf-strtab.c (_bfd_elf_strtab_add): Likewise. * elf32-ppc.c (ppc_elf_relax_section): Likewise. * elf32-xtensa.c (vsprintf_msg): Likewise. * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise. * stabs.c (_bfd_link_seciton_stabs): Likewise. * vms-misc.c (_bfd_vms_get_record): Likewise. * vms-tir.c (check_section): Likewise. * vms.c (vms_new_section_hook): Likewise. * elf32-arm.c (elf32_arm_section_map_add): Check that the allocation of sec_data->map succeeded before using it. * elflink.c (elf_link_output_sym): Do not overwrite finfo-> symshndxbuf until it is known that the reallocation succeeded.
2008-02-20config:Paolo Bonzini2-3/+7
2008-02-20 Uros Bizjak <ubizjak@gmail.com> * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.
2008-02-20PR 868Nick Clifton2-15/+93
* dwarf2.c (read_abbrevs): Free the abbreviation table if we run out of memory. (decode_line_info): Free the line_info_table before returning a failure result. (_bfd_dwarf2_cleanup_debug_info): Free the abbreviation table. Free the line table. Free the function table. Free the variable table.
2008-02-202008-02-20 Markus Deuling <deuling@de.ibm.com>Markus Deuling3-49/+33
Mark Kettenis <kettenis@gnu.org> * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by trad_frame_saved_reg. (trad-frame.h): New include. (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs instead of frame_obstack_zalloc. (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
2008-02-202008-02-20 Paul Brook <paul@codesourcery.com>Paul Brook21-20/+527
ld/ * emultempl/armelf.em (OPTION_FIX_V4BX_INTERWORKING): Define. (PARSE_AND_LIST_LONGOPTS): Add fix-v4bx-interworking. (PARSE_AND_LIST_OPTIONS): Ditto. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FIX_V4BX_INTERWORKING. * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Add .v4_bx. * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Ditto. * emulparams/armnto.sh (OTHER_TEXT_SECTIONS): Ditto. * ld.texinfo: Document --fix-v4bx-interworking. ld/testsuite/ * ld-arm/armv4-bx.d: New test. * ld-arm/armv4-bx.s: New test. * ld-arm/arm.ld: Add .v4bx. * ld-arm/arm-elf.exp: Add armv4-bx. gas/testsuite/ * gas/arm/thumb.d: Exclude EABI targets. * gas/arm/arch4t.d: Exclude EABI targts. * gas/arm/v4bx.d: New test. * gas/arm/v4bx.s: New test. * gas/arm/thumb-eabi.d: New test. * gas/arm/arch4t-eabi.d: New test. gas/ * config/tc-arm.c (fix_v4bx): New variable. (do_bx): Generate V4BX relocations. (md_assemble): Allow bx on v4 codes when fix_v4bx. (md_apply_fix): Handle BFD_RELOC_ARM_V4BX. (tc_gen_reloc): Ditto. (OPTION_FIX_V4BX): Define. (md_longopts): Add fix-v4bx. (md_parse_option): Handle OPTION_FIX_V4BX. (md_show_usage): Document --fix-v4bx. * doc/c-arm.texi: Document --fix-v4bx. bfd/ * reloc.c: Add BFD_RELOC_ARM_V4BX. * elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_V4BX. (ARM_BX_GLUE_SECTION_NAME, ARM_BX_GLUE_SECTION_NAME): Define. (elf32_arm_link_hash_table): Add bx_glue_size and bx_glue_offset. Update comment for fix_v4bx. (elf32_arm_link_hash_table_create): Zero bx_glue_size and bx_glue_offset. (ARM_BX_VENEER_SIZE, armbx1_tst_insn, armbx2_moveq_insn, armbx3_bx_insn): New. (bfd_elf32_arm_allocate_interworking_sections): Allocate BX veneer section. (bfd_elf32_arm_add_glue_sections_to_bfd): Ditto. (bfd_elf32_arm_process_before_allocation): Record BX veneers. (record_arm_bx_glue, elf32_arm_bx_glue): New functions. (elf32_arm_final_link_relocate): Handle BX veneers. (elf32_arm_output_arch_local_syms): Output mapping symbol for .v4_bx. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
2008-02-20 * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianessMarkus Deuling4-3/+11
from disassemble_info instead of gdbarch_byte_order. * mips-tdep.c (gdb_print_insn_mips): Likewise. * arm-tdep.c (gdb_print_insn_arm): Likewise.
2008-02-20 * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): AddMarkus Deuling10-22/+48
gdbarch as parameter. * gdbarch.{c,h}: Regenerate. * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as parameter. * mem-break.c (default_memory_insert_breakpoint) (default_memory_remove_breakpoint): Likewise. * target.h (default_memory_remove_breakpoint) (default_memory_insert_breakpoint): Likewise. * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. * m32r-tdep.c (m32r_memory_insert_breakpoint) (m32r_memory_remove_breakpoint): Likewise.
2008-02-202008-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini8-721/+1261
PR bootstrap/32009 PR bootstrap/32161 * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here. * configure: Regenerate. * Makefile.def: Define stage_libcflags for all bootstrap stages. * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS, STAGE4_LIBCFLAGS): New. (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET). (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS. (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS. (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags for target modules. Don't export LIBCFLAGS. (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS). * Makefile.in: Regenerate. config: 2008-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/32009 * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
2008-02-20*** empty log message ***gdbadmin1-1/+1
2008-02-19daily updateAlan Modra1-1/+1
2008-02-19doc/Pedro Alves4-7/+20
* gdb.texinfo (vAttach, vRun): Remove requirement of the stub killing the inferior when it is already debugging a process. gdbserver/ * server.c (handle_v_requests): When handling the vRun and vAttach packets, if already debugging a process, don't kill it. Return an error instead.
2008-02-19 * MAINTAINERS: Add Vladimir Prus as MI maintainer.Daniel Jacobowitz2-0/+5
2008-02-19 * NEWS: Add entry describing Add support improvements.Joel Brobecker2-0/+15
2008-02-19 PR other/12618Ben Elliston2-1/+7
* testsuite/Makefile.in (mostlyclean): Remove any core file.
2008-02-19*** empty log message ***gdbadmin1-1/+1
2008-02-18daily updateAlan Modra1-1/+1
2008-02-182008-02-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+37
* cfi/cfi.exp (gas_x86_64_check): New. (gas_x86_32_check): Likewise. Run 32bit and 64bit tests for x86 targets if they are supportd.
2008-02-18 * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum byMarkus Deuling2-2/+6
M68K_FP0_REGNUM.
2008-02-182008-02-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+11
* doc/c-i386.texi: Update -march= and .arch.
2008-02-18 * sentinel-frame.c (sentinel_frame_prev_register): Do not callMarkus Deuling4-25/+8
register_offset_hack anymore. * regcache.{c,h} (register_offset_hack): Remove.
2008-02-18 * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.Markus Deuling7-14/+39
* hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace current_gdbarch by gdbarch. (hppa64_hpux_find_global_pointer): Likewise. * hppa-tdep.c (hppa_find_global_pointer): Likewise. (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for find_global_pointer. * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as parameter. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead of gdbarch_num_regs. * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
2008-02-18 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing aNick Clifton16-19/+37
relocatable link. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
2008-02-18 * cr16.h (cr16_num_optab): Declared.Nick Clifton4-2/+12
* cr16-opc.c (cr16_num_optab): Defined
2008-02-18 * lib/ld-lib.exp (run_dump_test): Don't apply prune_warningsHans-Peter Nilsson2-2/+7
for tool invocations where warnings or errors can be matched.
2008-02-18 * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameterMarkus Deuling4-24/+52
and replace current_gdbarch by gdbarch. (store_register): Update call for exec_one_dummy_insn. (fetch_register, store_register): Update call of regmap. * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update call for getregs_supplies and getfpregs_supplies. (ppcnbsd_fetch_inferior_registers): Likewise. * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (ppcobsd_fetch_registers, ppcobsd_store_registers): Use get_regcache_arch to get at the current architecture. Update call for getfpregs_supplies.
2008-02-18 * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarchMarkus Deuling2-2/+5
variables.
2008-02-18 * config/tc-mn10300.c (has_known_symbol_location): New function.Nick Clifton2-11/+36
Do not regard weak symbols as having a known location. (md_estimate_size_before_relax): Use new function. (md_pcrel_from): Do not compute a pcrel against a weak symbol.
2008-02-18gas/Jan Beulich8-0/+232
2008-02-18 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (match_template): Disallow 'l' suffix when currently selected CPU has no 32-bit support. (parse_real_register): Do not return registers not available on currently selected CPU. gas/testsuite/ 2008-02-18 Jan Beulich <jbeulich@novell.com> * gas/i386/att-regs.s, gas/i386/att-regs.d, gas/i386/intel-regs.s, gas/i386/intel-regs.d: New. * gas/i386/i386.exp: Run new tests.
2008-02-18*** empty log message ***gdbadmin1-1/+1
2008-02-17* elf.c (swap_out_syms): Avoid preprocessing directive withinMark Kettenis2-3/+12
macro arg.
2008-02-17daily updateAlan Modra1-1/+1
2008-02-17 * server.c (handle_query): Correct length check.Daniel Jacobowitz2-1/+5
2008-02-17* elf.c (assign_file_positions_for_load_sections): Set the type ofJan Kratochvil2-0/+9
PT_NOTE sections to SHT_NOTE.
2008-02-172008-02-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-9/+12
* config/tc-i386.c (process_immext): Fix format.
2008-02-17*** empty log message ***gdbadmin1-1/+1
2008-02-16 * simple.c (bfd_simple_get_relocated_section_contents): SetAlan Modra2-1/+7
link_info.output_bfd.