aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-10include/opcode/Alan Modra9-303/+288
* ppc.h (ppc_parse_cpu): Declare. opcodes/ * ppc-dis.c: Include "opintl.h". (struct ppc_mopt, ppc_opts): New. (ppc_parse_cpu): New function. (powerpc_init_dialect): Use it. (print_ppc_disassembler_options): Dump options from ppc_opts. Internationalize message. gas/ * config/tc-ppc.c (parse_cpu): Delete. (md_parse_option, ppc_machine): Use ppc_parse_cpu. gas/testsuite/ * gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec. * gas/ppc/common.d: Adjust for -Mcom not including -Mppc.
2009-03-10binutils/H.J. Lu5-1/+25
2009-03-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9933 * objcopy.c (filter_symbols): Properly handle common symbols in relocatable file. binutils/testsuite/ 2009-03-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9933 * binutils-all/copy-4.d: New. * binutils-all/objcopy.exp: Run copy-4.
2009-03-10*** empty log message ***gdbadmin1-1/+1
2009-03-10daily updateAlan Modra1-1/+1
2009-03-092009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov4-11/+30
* solib.c (solib_contains_address_p): New function. (solib_name_from_address): Use it. * printcmd.c (display_uses_solib_p): Use it. * solib.h (solib_contains_address_p): Declare it.
2009-03-09 * varobj.c (free_variable): Call value_free.Jan Kratochvil2-0/+6
2009-03-09 PR gdb/9873:Jan Kratochvil2-21/+152
* dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'. Move the variable `macinfo_type' out of the loop. Create a new processing pass before the current one to pre-create `current_file'. New complaint on misplaced zero/non-zero definitions/includes. Skip first DW_MACINFO_start_file with `at_commandline' set.
2009-03-092009-03-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+10
PR gas/9915 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0. (LOCAL_LABELS_FB): Undefine befoe define.
2009-03-09 * solib.c (reload_shared_libraries): GiveVladimir Prus2-0/+28
inferior a chance to reset solib breakpoint. Reinit frame cache.
2009-03-09Minor formatting changeChristopher Faylor1-1/+1
2009-03-09*** empty log message ***gdbadmin1-1/+1
2009-03-09daily updateAlan Modra1-1/+1
2009-03-08* windows-nat.c (dr): Redefine to use largest possible integer which holds aChristopher Faylor2-2/+42
pointer. (cygwin_set_dr): Avoid coercion. * windows-nat.c (windows_create_inferior): implement --tty handling on non-cygwin.
2009-03-08daily updateAlan Modra1-1/+1
2009-03-08*** empty log message ***gdbadmin1-1/+1
2009-03-07 * ld-elf/empty2.d: Remove xfail for hppa*-*-*.Dave Anglin3-2/+7
* ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
2009-03-07 PR binutils/9921Dave Anglin2-2/+10
* som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE for unknown symbols in absolute section.
2009-03-07daily updateAlan Modra1-1/+1
2009-03-07*** empty log message ***gdbadmin1-1/+1
2009-03-06 * options.cc (parse_short_option): Keep dash_z from registering itself.Cary Coutant2-1/+5
2009-03-062009-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov6-11/+22
Rename solib_address to solib_name_from_address. * breakpoint.c (insert_bp_location, disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib): Update. * printcmd.c (display_uses_solib_p): Likewise. * stack.c (print_frame): Likewise. * solib.c: Rename. * solib.h: Rename.
2009-03-06Updated Spanish translations.Nick Clifton12-6456/+7809
2009-03-0609-03-05 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon7-8/+82
bfd/ * elf32-arm.c (group_sections): Take next section size into account before accepting to group it. testsuite/ * ld-arm/arm-elf.exp: Add new farcall-group-limit test. * ld-arm/farcall-group-limit.d: New file. * ld-arm/farcall-group3.s: New file. * ld-arm/farcall-group4.s: New file.
2009-03-06*** empty log message ***gdbadmin1-1/+1
2009-03-06daily updateAlan Modra1-1/+1
2009-03-052009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov7-2/+291
* printcmd.c (do_one_display): Reparse exp_string. (display_uses_solib_p): New function. (clear_dangling_display_expressions): New function. (_initialize_printcmd): Add observer. * solib.c (no_shared_libraries): Swap order of calls to clear_solib and objfile_purge_solibs.
2009-03-05 Implement the target-specific part of Ada tasking supportJoel Brobecker2-0/+29
on Tru64. * dec-thread.c (dec_thread_get_ada_task_ptid): New function. (init_dec_thread_ops): Set the to_get_ada_task_ptid method.
2009-03-05 Get rid of the global "base_target" and use "find_target_beneath"Joel Brobecker3-24/+54
to find the underlying target. * dec-thread.c (base_target): Delete. (enable_dec_thread): Remove assignement to base_target. (dec_thread_detach, dec_thread_wait, dec_thread_wait) (dec_thread_fetch_registers, dec_thread_store_registers) (dec_thread_mourn_inferior, dec_thread_pid_to_str): Update the function profile if necessary. Use find_target_beneath to call the same method but from the underlying target, removing the need for "base_target". * dec-thread.c (dec_thread_get_regsets, dec_thread_set_regsets): Fix a copy/paste error in a few debug traces... * solib-osf.c (init_so): Use a simpler method for computing the size of lm_info structure. This also gets rid of warning emitted by the compiler.
2009-03-05 * gdb.texinfo (Background Execution): Better describe the setPedro Alves2-27/+25
target-async command. (Maintenance Commands): Delete description of the `maint set/show linux-async' and `maint set/show remote-async' commands.
2009-03-05gdb/Pedro Alves5-3/+95
2009-03-05 Pedro Alves <pedro@codesourcery.com> * breakpoint.c (check_duplicates_for): Skip permanent breakpoints duplicates of permanent breakpoints. gdb/testsuite/ 2009-03-05 Pedro Alves <pedro@codesourcery.com> * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
2009-03-052009-03-05 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon11-11/+370
bfd/ * elf32-arm.c (arm_type_of_stub): Handle long branches targetting PLT entries. (elf32_arm_final_link_relocate): Likewise. testsuite/ * ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs in PLT context. * ld-arm/farcall-mixed-app-v5.d: New file. * ld-arm/farcall-mixed-app.d: Likewise. * ld-arm/farcall-mixed-app.r: Likewise. * ld-arm/farcall-mixed-app.s: Likewise. * ld-arm/farcall-mixed-app.sym: Likewise. * ld-arm/farcall-mixed-lib.d: Likewise. * ld-arm/farcall-mixed-lib.r: Likewise.
2009-03-05 * objdump.c (disassemble_section): If the computed next offset isNick Clifton2-2/+8
not beyond the current offset then just continue to the end.
2009-03-05gas:Joseph Myers6-0/+165
* read.c (s_fill, s_space, s_float_space, float_cons, stringer, s_incbin): Call md_cons_align (1). gas/testsuite: * gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New.
2009-03-05 PR 9923Alan Modra2-3/+18
* peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.
2009-03-05*** empty log message ***gdbadmin1-1/+1
2009-03-05daily updateAlan Modra1-1/+1
2009-03-04Wrap long line.Pedro Alves1-1/+2
2009-03-04 * inferior.h (notice_new_inferior): Declare.Pedro Alves4-33/+152
* infcmd.c (notice_new_inferior): New. * remote.c (remote_add_inferior, remote_add_thread): New. (notice_new_inferiors): Rename to... (remote_notice_new_inferior): ... this. Add RUNNING argument. Use remote_add_thread instead of add_thread, passing it the RUNNING argument. Add an inferior with remote_add_inferior. If we just learned about an inferior, call notice_new_inferior. (record_currthread): Adjust. (remote_threads_info): Adjust to use remote_notice_new_inferior. (remote_start_remote, extended_remote_attach_1): Use remote_add_inferior. (process_stop_reply): Adjust. Call remote_notice_new_inferior after handling expedited registers and watchpoint state. (extended_remote_create_inferior_1): Use remote_add_inferior.
2009-03-04* infcmd.c (registers_info): Remove register number case.Aleksandar Ristovski2-15/+4
2009-03-04 * config/tc-alpha.c (alpha_prologue_label): Only define for ELFNick Clifton2-1/+13
based targets. (s_alpha_comm): Only define "temp" and "log_align" local variables for EVAX targets.
2009-03-042009-03-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+5
* MAINTAINERS: Add myself as VMS maintainer.
2009-03-04 PR 9918Ian Lance Taylor10-58/+135
* target-reloc.h (relocate_section): Pass output_section to relocate. * i386.cc (Target_i386::should_apply_static_reloc): Add output_section parameter. Change all callers. (Target_i386::Relocate::relocate): Add output_section parameter. * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise. * sparc.cc (Target_sparc::Relocate::relocate): Likewise. * powerpc.cc (Target_powerpc::Relocate::relocate): Likewise. * testsuite/two_file_shared.sh: New script. * testsuite/Makefile.am (check_SCRIPTS): Add two_file_shared.sh. (check_DATA): Add two_file_shared.dbg. (two_file_shared.dbg): New target. * testsuite/Makefile.in: Rebuild.
2009-03-04include/elf/Alan Modra19-198/+829
* ppc.h (R_PPC_TLSGD, R_PPC_TLSLD): Add new relocs. * ppc64.h (R_PPC64_TLSGD, R_PPC64_TLSLD): Add new relocs. bfd/ * reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New. * section.c (struct bfd_section): Add has_tls_get_addr_call. (BFD_FAKE_SECTION): Init new flag. * ecoff.c (bfd_debug_section): Likewise. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD. (ppc_elf_reloc_type_lookup): Handle new relocs. (ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such without marker relocs. (ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs if section has no old-style calls. (ppc_elf_relocate_section): Set tls_mask for non-tls relocs too. Don't try to optimize new-style __tls_get_addr call when handling arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD relocs. * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD. (ppc64_elf_reloc_type_lookup): Handle new relocs. (ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such without marker relocs. (ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs if section has no old-style calls. Set toc_ref for new relocs as appropriate. (ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too. Don't try to optimize new-style __tls_get_addr call when handling arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD relocs. gas/ * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs have non-zero addend. (md_assemble): Parse args of __tls_get_addr calls. (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD. ld/testsuite/ * ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test. * ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test. * ld-powerpc/powerpc.exp: Run them.
2009-03-04bfd/Alan Modra6-2/+550
PR 6768 * configure.in: Test for ld --as-needed support. Link shared libbfd against libm. * configure: Regenerate. opcodes/ PR 6768 * configure.in: Test for ld --as-needed support. Link shared libopcodes against libm. * configure: Regenerate.
2009-03-04missing from make dep-am commitAlan Modra6-0/+32
2009-03-04opcodes/Peter Bergner2-10/+15
* ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that instructions from newer processors are listed before older ones.
2009-03-04*** empty log message ***gdbadmin1-1/+1
2009-03-04daily updateAlan Modra1-1/+1
2009-03-03 * config/hppa.sed: Fix spelling.Dave Anglin2-1/+5
2009-03-03 binutils/3807Dave Anglin2-3/+7
* config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with local scope for ELF targets.