aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-02-27 * configure.srv [s390x-*-linux*]: Set srv_regobj to include bothUlrich Weigand5-14/+95
reg-s390.o and reg-s390x.o. * linux-low.c (new_inferior): New global variable. (linux_create_inferior, linux_attach): Set it. (linux_wait_for_process): Call the_low_target.arch_setup after the target has stopped for the first time. (initialize_low): Do not call the_low_target.arch_setup. * linux-s390-low.c (s390_get_pc): Support bi-arch operation. (s390_set_pc): Likewise. (s390_arch_setup): New function. (the_low_target): Use s390_arch_setup as arch_setup routine. * regcache.c (realloc_register_cache): New function. (set_register_cache): Call it for each existing regcache.
2008-02-27gdb/ChangeLog:Ulrich Weigand28-11/+181
* regformats/regdat.sh: Rename init_registers function in generated file to init_registers_${name}. * regformats/reg-crisv32.dat: Set "name" to crisv32. * regformats/reg-ppc64.dat: Set "name" to ppc64. * regformats/reg-s390x.dat: Set "name" to s390x. gdbserver/ChangeLog: * server.h (init_registers): Remove prototype. * linux-low.h (struct linux_target_ops): Add arch_setup field. * linux-low.c (initialize_low): Call the_low_target.arch_setup () instead of init_registers (). * linux-arm-low.c (init_registers_arm): Add prototype. (init_registers_arm_with_iwmmxt): Likewise. (the_low_target): Add initializer for arch_setup field. * linux-cris-low.c (init_registers_cris): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-crisv32-low.c (init_registers_crisv32): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-i386-low.c (init_registers_i386_linux): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-ia64-low.c (init_registers_ia64): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-m32r-low.c (init_registers_m32r): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-m68k-low.c (init_registers_m68k): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-mips-low.c (init_registers_mips_linux): Add prototype. (init_registers_mips64_linux): Likewise. (the_low_target): Add initializer for arch_setup field. * linux-ppc-low.c (init_registers_ppc): Add prototype. (init_registers_powerpc_32, init_registers_powerpc_e500): Likewise. (the_low_target): Add initializer for arch_setup field. * linux-ppc64-low.c (init_registers_ppc64): Add prototype. (init_registers_powerpc_64): Likewise. (the_low_target): Add initializer for arch_setup field. * linux-s390-low.c (init_registers_s390): Add prototype. (init_registers_s390x): Likewise. (the_low_target): Add initializer for arch_setup field. * linux-sh-low.c (init_registers_sh): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-x86-64-low.c (init_registers_x86_64_linux): Add prototype. (the_low_target): Add initializer for arch_setup field. * linux-xtensa-low.c (init_registers_xtensa): Add prototype. (the_low_target): Add initializer for arch_setup field. * win32-low.h (struct win32_target_ops): Add arch_setup field. * win32-low.c (initialize_low): Call the_low_target.arch_setup () instead of init_registers (). * win32-arm-low.c (init_registers_arm): Add prototype. (the_low_target): Add initializer for arch_setup field. * win32-i386-low.c (init_registers_i386): Add prototype. (the_low_target): Add initializer for arch_setup field. * spu-low.c (init_registers_spu): Add prototype. (initialize_low): Call initialie_registers_spu () instead of initialize_registers ().
2008-02-272008-02-26 Greg Law <glaw@undo-software.com>Daniel Jacobowitz2-0/+7
* regcache.c (registers_changed): Call reinit_frame_cache.
2008-02-27 * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o.Daniel Jacobowitz4-4/+16
* sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver and svr4_fetch_objfile_link_map. * Makefile.in (sh-linux-tdep.o): Update.
2008-02-27*** empty log message ***gdbadmin1-1/+1
2008-02-26daily updateAlan Modra1-1/+1
2008-02-26From Craig Silverstein: rework handling of Script_options.Ian Lance Taylor9-77/+62
2008-02-26 * amd64-tdep.c (amd64_classify): Add support for decimal floatThiago Jung Bauermann3-9/+22
types. * i386-tdep.c (i386_return_value): Make 128-bit decimal float use the struct return convention.
2008-02-26From Craig Silverstein: implement -z max-page-size and -zIan Lance Taylor7-19/+117
common-page-size.
2008-02-26From Craig Silverstein: rename option functions for future optionIan Lance Taylor12-145/+150
handling rewrite.
2008-02-262008-02-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-16/+20
* gas/i386/jump.d: Updated for COFF.
2008-02-26 * config/default.exp (gcc_gas_flag, dlltool_gas_flag): Define toJoseph Myers2-2/+13
empty for testing an installed toolchain.
2008-02-26* objdump.c (objdump_print_addr): If displaying file offsets, showNick Clifton3-11/+32
the offset even if there are no symbols available. (dump_section): Display nothing if none of the section is going to be dumped. Display the file offset, if requested, of the location from where the dump starts. * doc/binutils.texi (objdump): Mention that dumping via the -s switch is also affected by the -F option.
2008-02-26 * elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_neededgdb_6_8-branchpointAlan Modra2-75/+109
for R_PPC_REL32 syms. Don't set non_got_ref on branch reloc syms, and assume branch relocs are not dynamic when non-shared. (readonly_dynrelocs): New function, split out from.. (maybe_set_textrel): ..here, renamed from old readonly_dynrelocs. (ppc_elf_adjust_dynamic_symbol): For symbols generating plt entries, clear non_got_ref.. (allocate_dynrelocs): ..and don't set u.def for undefined weak. Do allow dynamic relocs on undefined symbols. (ppc_elf_adjust_dynamic_symbol): Use readonly_dynrelocs. (ppc_elf_relocate_section): Mirror dynamic reloc changes in check_relocs. (ppc_elf_finish_dynamic_symbol): Don't give a warning on weak plt symbols needing pointer_equality_needed.
2008-02-26Re-apply this patch which was accidentally deleted:Nick Clifton2-3/+10
2006-05-16 Carlos O'Donell <carlos@codesourcery.com> * doc/binutils.texi: Use "Binutils Index" for index name.
2008-02-26 * breakpoint.c (print_one_breakpoint_location): Revert Enb fieldVladimir Prus12-54/+62
to old format. Discard breakpoint address if shared library is unloaded. (breakpoint_1): Adjust formatting of table header accordingly.
2008-02-26*** empty log message ***gdbadmin1-1/+1
2008-02-25daily updateAlan Modra1-1/+1
2008-02-25(Set Breaks): Revert description of Enb column ofNick Roberts1-8/+5
breakpoint table.
2008-02-25*** empty log message ***Nick Roberts1-0/+5
2008-02-25 * remote.c (remote_get_threadlist): If the responseVladimir Prus2-3/+11
is empty, don't try to parse it.
2008-02-25*** empty log message ***gdbadmin1-1/+1
2008-02-24daily updateAlan Modra1-1/+1
2008-02-24*** empty log message ***gdbadmin1-1/+1
2008-02-23daily updateAlan Modra1-1/+1
2008-02-23 Unbreak 'target async'.Vladimir Prus2-4/+11
* serial.c (serial_async): Set the handler function before enabling async mode.
2008-02-23gas/testsuite/H.J. Lu10-141/+304
2008-02-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/jump.s: Add tests for far branches. * gas/i386/jump16.s: Likewise. * gas/i386/jump.d: Updated. * gas/i386/jump16.d: Likewise. * gas/i386/x86-64-inval.l: Likewise. * gas/i386/x86-64-inval.s: Add tests for 16-bit near indirect branches. opcodes/ 2008-02-23 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Disallow 16-bit near indirect branches for x86-64. * i386-tbl.h: Regenerated.
2008-02-23 * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.Alan Modra2-0/+7
2008-02-23 * elf32-ppc.c (ppc_elf_copy_indirect_symbol): CopyAlan Modra2-23/+74
pointer_equality_needed. (ppc_elf_check_relocs): Split out non-branch relocs from others that might emit dynamic relocs. Set pointer_equality_needed for their symbols. Don't set non_got_ref on branch reloc symbols. (ppc_elf_hash_symbol): New function. (elf_backend_hash_symbol): Define. (ppc_elf_finish_dynamic_symbol): Handle pointer_equality_needed. Error if pointer_equality_needed on weak plt symbol.
2008-02-232008-02-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+15
PR ld/5788 * elflink.c (elf_create_symbuf): Correct buffer size and position.
2008-02-23*** empty log message ***gdbadmin1-1/+1
2008-02-22 ld/testsuite/Mark Mitchell2-1/+10
* ld-elf/seg.d: Expect .reginfo section on MIPS.
2008-02-22daily updateAlan Modra1-1/+1
2008-02-22 * solib-svr4.c (enable_break): Convert r_brk to a code address.Daniel Jacobowitz2-0/+9
2008-02-22 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELFNick Clifton2-2/+2
targeted ARM ports, otherwise just skip generating the reloc.
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.