aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-27 * target.h (Target::plt_fde_location, do_plt_fde_location): Declare.Alan Modra6-25/+303
* target.cc (Target::do_plt_fde_location): New function. * ehframe.h (class FDE): Add post_map field to u_.from_linker, accessor function, and constructor param. (struct Post_fde, Post_fdes): Declare. (Cie::write): Add post_fdes param. * ehframe.cc (Fde::write): Use plt_fde_location. (struct Post_fde): Define. (Cie::write): Stash FDEs added post merge mapping. (Eh_frame::add_ehframe_for_plt): Assert no new CIEs after mapping. Adjust Fde constructor call. Bump final_data_size_ for post map FDEs. (Eh_frame::do_sized_write): Arrange to write post map FDES after other FDEs. * powerpc.cc (Target_powerpc::do_plt_fde_location): New function. (Target_powerpc::has_glink): New function. (Target_powerpc::do_relax): Add eh_frame info for stubs. (struct Eh_cie, eh_frame_cie, glink_eh_frame_fde_64, glink_eh_frame_fde_32, default_fde): New data. (Stub_table::eh_frame_added_): New var. (Stub_table::find_long_branch_entry, stub_address, stub_offset): Make const. (Stub_table::add_eh_frame): New function. (Output_data_glink::add_eh_frame): New function. (Target_powerpc::make_glink_section): Call add_eh_frame.
2013-02-27daily updateAlan Modra1-1/+1
2013-02-27* reloc.c (BFD_RELOC_RL78_CODE): Add.DJ Delorie7-0/+36
* libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-rl78.c (rl78_elf_relocate_section): Handle weak code references in compuated relocs. * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE. (rl78_op): Handle %code(). (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands. (tc_gen_reloc): Likwise; convert to a computed reloc. (md_apply_fix): Likewise.
2013-02-27 * windows-nat.c: Throughout, fix format strings and casts ofCorinna Vinschen2-32/+42
printf-like functions to avoid type related warnings on all platforms. (handle_output_debug_string): Fetch context information address from debug string using string_to_core_addr.
2013-02-27gdb/testsuite/Jan Kratochvil2-0/+6
* gdb.threads/fork-thread-pending.c (main): Add alarm.
2013-02-27gdb/testsuite/Jan Kratochvil2-0/+9
* gdb.base/valgrind-infcall.exp (valgrind_pid): New variable. Add final kill of ${valgrind_pid}.
2013-02-27 gdb/Jiong Wang6-6/+48
* regformats/reg-tilegx.dat (name): Change abi name to "tilegx". * regformats/reg-tilegx32.dat: New. gdbserver/ * Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c. (reg-tilegx32.c): New rule. * configure.srv (tilegx-*-linux*): Add reg-tilegx32.o to srv_regobj. * linux-tile-low.c (tile_arch_setup): New function. Invoke different register info initializer according to elf class. (init_registers_tilgx32): New function. The tilegx32 register info initializer. (tile_fill_gregset): Use "uint_reg_t" to represent register size. (tile_store_gregset): Likewise.
2013-02-27 gdb/Jiong Wang2-0/+5
* configure.tgt (tilegx-*-linux*): Enable gdbserver.
2013-02-27 gdb/Jiong Wang2-3/+7
* configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
2013-02-27gdb/gdbserver/Yao Qi2-1/+7
* server.c (process_point_options): Print debug message when debug_threads is true.
2013-02-27 PR binutils/15191Alan Modra2-55/+57
* readelf.c (offsetof): Define. (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article. (process_corefile_note_segment): Allow notes without name or desc. Combine out-of-range checks. Disallow "negative" notesz or descsz.
2013-02-27 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.Nick Clifton3-1/+11
Add alignment of .bss section. * scripttempl/elf32msp430_3.sc: Likewise.
2013-02-27 * rl78-decode.opc (rl78_decode_opcode): Fix typo.Alan Modra3-202/+208
* rl78-decode.c: Regenerate.
2013-02-27gdb/Yao Qi2-25/+43
2013-02-27 Yao Qi <yao@codesourcery.com> Pedro Alves <palves@redhat.com> * tracepoint.c (tfile_trace_find): For tfind pc/tp/range/outside, look for the next trace frame instead of always starting from frame 0.
2013-02-27*** empty log message ***gdbadmin1-1/+1
2013-02-26daily updateAlan Modra1-1/+1
2013-02-26Add moxie-*-rtems* support.Anthony Green2-1/+5
2013-02-26Tweak moxie-rtems triplet recognitionAnthony Green2-1/+5
2013-02-26 PR binutils/15191Nick Clifton4-16/+49
* binutils-all/readelf.n: Updare expected output from readelf. * readelf.c (process_corefile_note_segment): Prevent attempts to read beyond the end of the note buffer.
2013-02-26gdb/gdbserver/Yao Qi2-1/+4
* tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
2013-02-26 PR ld/15188Nick Clifton2-16/+14
* ld.texinfo: Fix typos.
2013-02-26*** empty log message ***gdbadmin1-1/+1
2013-02-25daily updateAlan Modra1-1/+1
2013-02-25 * rl78-decode.opc: Fix encoding of DIVWU insn.Nick Clifton5-9/+27
* rl78-decode.c: Regenerate. * config/rl78-parse.y: Fix encoding of DIVWU insn.
2013-02-25Tweak warning output on Linux kernels with broken i386 NX support.Pedro Alves2-2/+8
The "you have broken" bit of this text reads to me as if I had broken it myself somehow. This patch eliminates that ambiguity. 2013-02-25 Pedro Alves <palves@redhat.com> * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change warning text.
2013-02-252013-02-25 Terry Guo <terry.guo@arm.com>xuepeng guo3-0/+11
* config/tc-arm.c (arm_cpus): Add cortex-r7 entry. * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to list of accepted CPUs.
2013-02-25*** empty log message ***gdbadmin1-1/+1
2013-02-24daily updateAlan Modra1-1/+1
2013-02-24 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zeroMaciej W. Rozycki2-0/+6
if $fp is used as the virtual frame pointer.
2013-02-24*** empty log message ***gdbadmin1-1/+1
2013-02-23daily updateAlan Modra1-1/+1
2013-02-23*** empty log message ***gdbadmin1-1/+1
2013-02-22 * elfread.c (elf_symtab_read): Do not use udata.p here to findAlan Modra6-13/+38
symbol size. * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
2013-02-22daily updateAlan Modra1-1/+1
2013-02-22gdb/Jan Kratochvil2-6/+15
Code cleanup. * elfread.c (build_id_bfd_get): Make the return type const. (build_id_verify): Make the check parameter const. (build_id_to_debug_filename): Make the build_id parameter and variable data const. (find_separate_debug_file_by_buildid): Make the variable build_id const.
2013-02-22Set unique_global only for definitionH.J. Lu5-7/+40
bfd/ PR ld/15167 * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set unique_global only for definition. * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global here. (elf_link_add_object_symbols): Set unique_global only for definition. ld/testsuite/ PR ld/15167 * ld-unique/unique.exp: Add a test for shared library with reference.
2013-02-22*** empty log message ***gdbadmin1-1/+1
2013-02-21daily updateAlan Modra1-1/+1
2013-02-21 * gdb.texinfo: Remove bad @syncodeindex.Tom Tromey2-71/+34
(Values From Inferior, Types In Python, Inferiors In Python) (Events In Python, Threads In Python, Frames In Python, Blocks In Python, Symbols In Python, Symbol Tables In Python): Remove @tables. (Packets, General Query Packets, Tracepoint Packets) (Host I/O Packets): Use @w{} for empty @item.
2013-02-21 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort allAlan Modra2-6/+11
.init_array/.fini_array input sections before .ctors/.dtors input sections. (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
2013-02-21bfd/Alan Modra7-102/+135
* elf-bfd.h (struct elf_build_id): Extracted from.. (struct elf_build_id_info): ..here. Delete. (struct output_elf_obj_tdata): New, extracted from.. (struct elf_obj_tdata): ..here. Reorganize for better packing. Add "o" field. (elf_program_header_size): Reference tdata->o. (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec, elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise. * elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata when opening bfd in any mode that might write. (_bfd_elf_write_object_contents): Use build_id field in output_elf_obj_tdata. (_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test. (elfobj_grok_gnu_build_id): Adjust for elf_tdata changes. gdb/ * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. ld/ * emultempl/elf32.em (write_build_id, setup_build_id): Adjust for elf_tdata changes.
2013-02-21 * elf-bfd.h (struct core_elf_obj_tdata): New.Alan Modra29-192/+225
(struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid, core_program, and core_command. Add "core". * elf.c (bfd_elf_mkcorefile): Allocate "core" struct. Update all refs to tdata core fields. * elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c, * elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c, * elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c, * elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c, * elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c, * elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c, * elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs to tdata core fields.
2013-02-21bfd/Alan Modra19-144/+159
* elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map. Delete num_locals and num_globals. (elf_num_locals, elf_num_globals): Don't define. (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define. * bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c, * elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c, * elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c, * elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata accessor macros. * elf.c (elf_map_symbols): Add pnum_locals param. Return number of locals syms via new param. (swap_out_syms): Adjust to suit elf_map_symbols change. ld/ * emultempl/elf-generic.em: Use newly defined elf_obj_tdata accessor macros.
2013-02-21 Add a new method 'disassemble' to gdb.Architecture class.Siva Chandra Reddy8-1/+279
* python/py-arch.c (archpy_disassmble): Implementation of the new method gdb.Architecture.disassemble. (arch_object_methods): Add entry for the new method. * doc/gdb.texinfo (Architectures In Python): Add description about the new method gdb.Architecture.disassemble. * testsuite/gdb.python/py-arch.c: New test case * testsuite/gdb.python/py-arch.exp: New tests to test gdb.Architecture.disassemble * testsuite/gdb.python/Makefile.in: Add py-arch to the list of EXECUTABLES.
2013-02-21*** empty log message ***gdbadmin1-1/+1
2013-02-20daily updateAlan Modra1-1/+1
2013-02-20 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.Alan Modra3-40/+43
* Makefile.in: Regenerate.
2013-02-20 gdb/Jiong Wang2-3/+8
* MAINTAINERS (Write After Approval): Add myself to the list.
2013-02-20*** empty log message ***gdbadmin1-1/+1
2013-02-19daily updateAlan Modra1-1/+1