aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-17 * mem-break.c: Remove obsolete comment.Tom Tromey3-9/+10
* bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
2013-01-17Merge dg-extract-results.sh from gcc upstream (svn 195224).Pedro Alves2-4/+25
gdb/testsuite/ 2013-01-17 Pedro Alves <palves@redhat.com> Merge dg-extract-results.sh from upstream (svn 195224). 2013-01-15 David Blaikie <dblaikie@gmail.com> * dg-extract-results.sh: Fix order of summary counts. 2013-01-15 David Blaikie <dblaikie@gmail.com> * dg-extract-results.sh: Constrain the start-of-log pattern. 2013-01-15 David Blaikie <dblaikie@gmail.com> * dg-extract-results.sh: Handle KPASSes. 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * dg-extract-results.sh: Redirect grep output to /dev/null instead of grep -q.
2013-01-17gdb/testsuiteSanjoy Das1-0/+9
* gdb.base/jit-reader.exp: New file. Test case for the jit-reader interface. * gdb.base/jithost.c: New file. * gdb.base/jithost.h: New file. * gdb.base/jitreader.c : New file. * gdb.base/jit-protocol.h: New file.
2013-01-17* jit.c (jit_reader_load_command): Interpret the jit reader name as anSanjoy Das4-10/+27
absolute path if it begins with a forward slash.
2013-01-17PR gdb/14550Sanjoy Das2-2/+19
* jit.c (finalize_symtab): Ensure that only the global block has a NULL superblock.
2013-01-172013-01-17 Pedro Alves <palves@redhat.com>Pedro Alves4-9/+29
* acinclude.m4: Include ../config/plugins.m4, ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. * Makefile.in (aclocal_m4_deps): Update. * aclocal.m4: Renegerate.
2013-01-17Remove debug outputAnthony Green2-1/+4
2013-01-17Add x86 size relocation support to gasH.J. Lu61-3/+1165
gas/ * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32. (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and BFD_RELOC_64_SIZE relocations. (lex_got): Support "symbol@SIZE" and don't create GOT symbol for it. (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64 relocations against local symbols. gas/testsuite/ * gas/i386/i386.exp: Run size-1, size-2, size-3, size-4, x86-64-size-1, x86-64-size-2, x86-64-size-3, x86-64-size-4, x86-64-size-5 and x86-64-size-inval-1. * gas/i386/size-1.d: New file. * gas/i386/size-1.s: Likewise. * gas/i386/size-2.d: Likewise. * gas/i386/size-2.s: Likewise. * gas/i386/size-3.d: Likewise. * gas/i386/size-3.s: Likewise. * gas/i386/size-4.d: Likewise. * gas/i386/size-4.s: Likewise. * gas/i386/x86-64-size-1.d: Likewise. * gas/i386/x86-64-size-2.d: Likewise. * gas/i386/x86-64-size-3.d: Likewise. * gas/i386/x86-64-size-4.d: Likewise. * gas/i386/x86-64-size-5.d: Likewise. * gas/i386/x86-64-size-5.s: Likewise. * gas/i386/x86-64-size-inval-1.l: Likewise. * gas/i386/x86-64-size-inval-1.s: Likewise. * gas/i386/ilp32/x86-64-size-1.d: Likewise. * gas/i386/ilp32/x86-64-size-2.d: Likewise. * gas/i386/ilp32/x86-64-size-3.d: Likewise. * gas/i386/ilp32/x86-64-size-4.d: Likewise. * gas/i386/ilp32/x86-64-size-5.d: Likewise. ld/testsuite/ * ld-size/size.exp: New file. * ld-size/size32-1-i386.d: Likewise. * ld-size/size32-1-x32.d: Likewise. * ld-size/size32-1-x86-64.d: Likewise. * ld-size/size32-1.s: Likewise. * ld-size/size32-2-i386.d: Likewise. * ld-size/size32-2-x32.d: Likewise. * ld-size/size32-2-x86-64.d: Likewise. * ld-size/size32-2.s: Likewise. * ld-size/size64-1-x32.d: Likewise. * ld-size/size64-1-x86-64.d: Likewise. * ld-size/size64-1.s: Likewise. * ld-size/size64-2-x32.d: Likewise. * ld-size/size64-2-x86-64.d: Likewise. * ld-size/size64-2.s: Likewise. * ld-size/size-3.c: Likewise. * ld-size/size-3.out: Likewise. * ld-size/size-3a.c: Likewise. * ld-size/size-3b.c: Likewise. * ld-size/size-3c.c: Likewise. * ld-size/size-4.out: Likewise. * ld-size/size-4a.c: Likewise. * ld-size/size-4b.c: Likewise. * ld-size/size-5.out: Likewise. * ld-size/size-5a.c: Likewise. * ld-size/size-5b.c: Likewise. * ld-size/size-6.out: Likewise. * ld-size/size-6a.c: Likewise. * ld-size/size-6b.c: Likewise. * ld-size/size-7.rd: Likewise. * ld-size/size-7a.c: Likewise. * ld-size/size-7b.c: Likewise. * ld-size/size-8.rd: Likewise. * ld-size/size-8a.c: Likewise. * ld-size/size-8b.c: Likewise.
2013-01-17 * objdump.c (dump_target_specific): Fix NULL pointer test.Alan Modra2-1/+5
2013-01-172013-01-16 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2-1/+5
* testsuite/plugin_final_layout.cc: Fix comment.
2013-01-17*** empty log message ***gdbadmin1-1/+1
2013-01-16daily updateAlan Modra1-1/+1
2013-01-162013-01-16 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam3-1/+17
* layout.cc (Layout::layout): Do not do default sorting for text sections when section ordering is specified. (make_output_section): Ditto. * testsuite/plugin_final_layout.cc: Name the function sections to catch reordering issues.
2013-01-16Update x86 size relocation checkH.J. Lu3-31/+20
* elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32 check. (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32. * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32 and R_X86_64_SIZE64 check. (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32 nor R_X86_64_SIZE64.
2013-01-16Add OPERAND_TYPE_IMM32_64H.J. Lu4-2/+16
* i386-gen.c (operand_type_init): Add OPERAND_TYPE_IMM32_64. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
2013-01-16 * contrib/cc-with-tweaks.sh: Add references to Fission docs.Doug Evans2-0/+8
2013-01-16Add x86 size relocation support to bfdH.J. Lu6-12/+123
* bfd-in2.h: Regenerated. * libbfd.h: Likewise. * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry. (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32. (elf_i386_check_relocs): Handle R_386_SIZE32. (elf_i386_gc_sweep_hook): Likewise. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32 and R_X86_64_SIZE64 entries. (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64, (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32. (elf_x86_64_reloc_name_lookup): Likewise. (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and R_X86_64_SIZE64. (elf_x86_64_gc_sweep_hook): Likewise. (elf_x86_64_relocate_section): Likewise. * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64.
2013-01-16Define R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64H.J. Lu3-2/+9
* i386.h (R_386_SIZE32): Fill it. * x86-64.h (R_X86_64_SIZE32): Likewise. (R_X86_64_SIZE64): Likewise.
2013-01-162013-01-03 Pedro Alves <palves@redhat.com>Tom Tromey13-130/+964
Tom Tromey <tromey@redhat.com> PR cli/7221: * NEWS: Add "catch signal". * breakpoint.c (base_breakpoint_ops): No longer static. (bpstat_explains_signal): New function. (init_catchpoint): No longer static. (base_breakpoint_explains_signal): New function. (base_breakpoint_ops): Initialize new field. * breakpoint.h (enum bpstat_signal_value): New. (struct breakpoint_ops) <explains_signal>: New field. (bpstat_explains_signal): Remove macro, declare as function. (base_breakpoint_ops, init_catchpoint): Declare. * break-catch-sig.c: New file. * inferior.h (signal_catch_update): Declare. * infrun.c (signal_catch): New global. (handle_syscall_event): Update for change to bpstat_explains_signal. (handle_inferior_event): Likewise. Always handle random signals via bpstats. (signal_cache_update): Check signal_catch. (signal_catch_update): New function. (_initialize_infrun): Initialize signal_catch. * Makefile.in (SFILES): Add break-catch-sig.c. (COMMON_OBS): Add break-catch-sig.o. gdb/doc * gdb.texinfo (Set Catchpoints): Document "catch signal". (Signals): Likewise. gdb/testsuite * gdb.base/catch-signal.c: New file. * gdb.base/catch-signal.exp: New file.
2013-01-16 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)Tom Tromey6-6/+51
(print_one_catch_solib, print_one_catch_syscall) (print_one_catch_exec, print_one_exception_catchpoint): Emit "catch-type". gdb/doc * gdb.texinfo (GDB/MI Breakpoint Information): Document "catch-type" field. (GDB/MI Catchpoint Commands): Add "catch-type" to examples. gdb/testsuite * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2013-01-16gdb/Yao Qi2-1/+5
* printcmd.c (current_display_number): Make it static.
2013-01-16gdb/gdbserver/Yao Qi2-1/+6
* linux-low.c (linux_resume_one_lwp): Don't check 'lwp->bp_reinsert != 0'.
2013-01-16gdb/Yao Qi2-1/+6
* infcmd.c (step_once): Don't check '!single_inst' as it was checked before.
2013-01-16 * rx.c (decode_opcode): Handle RXO_satr.Nick Clifton2-0/+20
2013-01-16 * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.Alan Modra2-2/+6
2013-01-16 * gas/ppc/htm.d: Ignore padding at end of section.Alan Modra2-0/+5
2013-01-16 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line afterAlan Modra2-3/+8
finding some sort of toc syntax error, and break to avoid compiler uninit warning.
2013-01-16*** empty log message ***gdbadmin1-1/+1
2013-01-15daily updateAlan Modra1-1/+1
2013-01-15 * configure.ac: Sync with GCC repo.Jan-Benedict Glaw5-16/+118
* configure: Ditto. * Makefile.def: Ditto. * Makefile.in: Ditto.
2013-01-15gdb/Jan Kratochvil2-1/+7
* dwarf2read.c (psymtab_include_file_name): Extend the function comment.
2013-01-15Increment length by 1 if the relocation token is removedH.J. Lu9-4/+40
gas/ PR gas/15019 * config/tc-i386.c (lex_got): Increment length by 1 if the relocation token is removed. gas/testsuite/ PR gas/15019 * gas/i386/reloc32.s: Add tests for "xtrn@got -/+ 4". * gas/i386/reloc64.s: Likewise. * gas/i386/ilp32/reloc64.s: Likewise. * gas/i386/reloc32.d: Updated. * gas/i386/reloc64.d: Likewise. * gas/i386/ilp32/reloc64.d: Likewise.
2013-01-15Define R_X86_64_standard with R_X86_64_RELATIVE64H.J. Lu2-1/+6
* elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE with R_X86_64_RELATIVE64.
2013-01-15gdb/testsuite/Jan Kratochvil2-0/+9
* gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2013-01-15 PR binutils/15018Alan Modra2-6/+10
* stabs.c (parse_stab_members): Always set physname here to avoid gcc warning.. (parse_stab_argtypes): ..and don't duplicate the init here.
2013-01-15 * config/tc-v850.c (md_assemble): Allow signed values forNick Clifton10-13/+37
V850E_IMMEDIATE. * gas/v850/basic.exp: Allow for variations in reloc names. * gas/v850/split-lo16.d: Likewise. * gas/v850/v850e1.s: Add more tests of the PREPARE insn. * gas/v850/v850e1.d: Update expected disassembly. * v850-dis.c (get_operand_value): Sign extend V850E_IMMEDIATE values. * v850-opc.c (IMM16LO): Add V850_OPERAND_SIGNED attribute.
2013-01-15Fix spelling typo.Nick Clifton2-4/+7
2013-01-15bfd/Alan Modra10-26/+57
* elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to plt-thread-safe. gold/ * powerpc.cc (Target_powerpc::do_relax): Default shared libs to plt-thread-safe. ld/testsuite/ * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs. * ld-powerpc/tlsso.g: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.d: Likewise. * ld-powerpc/tlstocso.g: Likewise.
2013-01-15 * ld-plugin/lto-16a.d: Match powerpc64 function symbol type.Alan Modra5-4/+11
* ld-plugin/lto-16b.d: Likewise. * ld-plugin/lto-17a.d: Likewise. * ld-plugin/lto-17b-2.d: Likewise.
2013-01-15*** empty log message ***gdbadmin1-1/+1
2013-01-14 * testsuite/Makefile.am (final_layout_script.lds): Handle .got section.Alan Modra3-2/+7
* testsuite/Makefile.in: Regenerate.
2013-01-14daily updateAlan Modra1-1/+1
2013-01-14 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return theTom Tromey6-17/+68
set command. * command.h (add_setshow_string_noescape_cmd): Update. * corefile.c (set_gnutarget_command): Remove trailing whitespace. (complete_set_gnutarget): New function. (_initialize_core): Set the "set gnutarget" completer. gdb/testsuite * gdb.base/completion.exp: Add "set gnutarget" test.
2013-01-14 PR symtab/14442:Tom Tromey9-12/+570
* c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. (c_type_print_modifier): Likewise. * dwarf2read.c (read_tag_restrict_type): New function. (read_type_die_1): Handle DW_TAG_restrict_type. * gdbtypes.c (make_restrict_type): New function. (recursive_dump_type): Handle TYPE_RESTRICT. * gdbtypes.h (enum type_flag_values): Renumber. (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_RESTRICT. (TYPE_RESTRICT): New macro. (make_restrict_type): Declare. gdb/testsuite * gdb.dwarf2/dw2-restrict.S: New file. * gdb.dwarf2/dw2-restrict.c: New file. * gdb.dwarf2/dw2-restrict.exp: New file.
2013-01-14 PR symtab/14931:Tom Tromey8-1/+292
* psymtab.c (struct psymtab_state): New. (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New functions. * psympriv.h (make_cleanup_discard_psymtabs): Declare. * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. gdb/testsuite * gdb.dwarf2/dw2-error.exp: New file. * gdb.dwarf2/dw2-error.c: New file. * gdb.dwarf2/dw2-error.S: New file.
2013-01-142013-01-14 Richard Sharman <richard_sharman@mitel.com>Pedro Alves2-1/+20
Pedro Alves <palves@redhat.com> PR remote/14786 * remote.c (remote_threads_info): Make a copy of the reply from qfThreadInfo and use that instead of rs->buf.
2013-01-14 * ld.texinfo (-Tldata-segment): Describe.Alan Modra5-0/+30
* ldlex.h (OPTION_TLDATA_SEGMENT): New enum value. * lexsup.c (ld_options): Add -Tldata-segment. (parse_args): Handle OPTION_TLDATA_SEGMENT. * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
2013-01-14 * ld-elf/pr14926.d: Disable for d10v, msp, xstormy.Alan Modra3-1/+8
* ld-elf/sec-to-seg.exp: Choose correct variant output to suit updated microblaze page size.
2013-01-14 PR binutils/14813Alan Modra6-11/+21
* bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06. (memory_bclose): Likewise. Return 0 on success. * cache.c (cache_bclose): Likewise. * opncls.c (opncls_bclose, bfd_close): Likewise. * vms-lib.c (vms_lib_bclose): Likewise. * libbfd.h: Regenerate.
2013-01-14 * gas/v850/basic.exp (reloc part 1): Pass -mgcc-abi to gas.Alan Modra3-3/+8
* gas/v850/split-lo16.d: Likewise.