aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-29* elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask forSean Keys2-2/+7
R_XGATE_16
2012-10-29 * sb.c (sb_check): Use __builtin_clzll when size_t is not theAlan Modra2-1/+9
same size as long.
2012-10-29binutils/Alan Modra8-21/+35
* dlltool.c (INIT_SEC_DATA): Move. (secdata <DLLTOOL_PPC>): Use here too. binutils/testsuite/ * binutils-all/copy-3.d: Exclude all cygwin and mingw targets, and rs6000. gas/ * config/tc-ppc.c (ppc_znop): Remove unused vars. ld/ * configure.tgt (powerpcle-pe,winnt,cygwin): Add deffilep.o and pe-dll.o.
2012-10-29 * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask inAlan Modra2-7/+14
R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A, R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A, R_PPC_VLE_SDAREL_HA16A reloc howtos.
2012-10-29 * ld-powerpc/powerpc.exp: Modify emulation option passed to ldAlan Modra51-680/+755
when little-endian. * ld-powerpc/apuinfo-nul.rd: Update for le output. * ld-powerpc/apuinfo.rd: Likewise. * ld-powerpc/plt1.d: Likewise. * ld-powerpc/relax.d: Likewise. * ld-powerpc/relaxr.d: Likewise. * ld-powerpc/sdadyn.d: Likewise. * ld-powerpc/tls.d: Likewise. * ld-powerpc/tls.g: Likewise. * ld-powerpc/tls.t: Likewise. * ld-powerpc/tls32.d: Likewise. * ld-powerpc/tls32.g: Likewise. * ld-powerpc/tls32.t: Likewise. * ld-powerpc/tlsexe.d: Likewise. * ld-powerpc/tlsexe.g: Likewise. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexe.t: Likewise. * ld-powerpc/tlsexe32.d: Likewise. * ld-powerpc/tlsexe32.g: Likewise. * ld-powerpc/tlsexe32.r: Likewise. * ld-powerpc/tlsexe32.t: Likewise. * ld-powerpc/tlsexetoc.d: Likewise. * ld-powerpc/tlsexetoc.g: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsexetoc.t: Likewise. * ld-powerpc/tlsmark.d: Likewise. * ld-powerpc/tlsmark32.d: Likewise. * ld-powerpc/tlsopt1.d: Likewise. * ld-powerpc/tlsopt1_32.d: Likewise. * ld-powerpc/tlsopt2.d: Likewise. * ld-powerpc/tlsopt2_32.d: Likewise. * ld-powerpc/tlsopt3.d: Likewise. * ld-powerpc/tlsopt3_32.d: Likewise. * ld-powerpc/tlsopt4.d: Likewise. * ld-powerpc/tlsopt4_32.d: Likewise. * ld-powerpc/tlsso.d: Likewise. * ld-powerpc/tlsso.g: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlsso.t: Likewise. * ld-powerpc/tlsso32.d: Likewise. * ld-powerpc/tlsso32.g: Likewise. * ld-powerpc/tlsso32.r: Likewise. * ld-powerpc/tlsso32.t: Likewise. * ld-powerpc/tlstoc.d: Likewise. * ld-powerpc/tlstoc.g: Likewise. * ld-powerpc/tlstoc.t: Likewise. * ld-powerpc/tlstocso.d: Likewise. * ld-powerpc/tlstocso.g: Likewise. * ld-powerpc/tlstocso.t: Likewise. * ld-powerpc/tocopt.out: Likewise.
2012-10-29 * gas/cfi/cfi.exp: Remove redundant ppc test. ExcludeAlan Modra62-2815/+2935
powerpc-pe targets from cfi-common-6 test. * gas/cfi/cfi-ppc-1.d: Use objdump to handle pe. * gas/cfi/cfi-ppc-1.s: Don't use .type and .size. * gas/ppc/ppc.exp: Exclude various tests for powerpc-pe. Exclude vle tests for le targets. * gas/ppc/476.d, * gas/ppc/476.s: Update for le output. Use .text rather than section directive with quotes. * gas/ppc/a2.d, * gas/ppc/a2.s: Likewise. * gas/ppc/altivec.d, * gas/ppc/altivec.s: Likewise. * gas/ppc/altivec2.d: Likewise. * gas/ppc/altivec_and_spe.d: Likewise. * gas/ppc/astest.d: Likewise. * gas/ppc/astest2.d: Likewise. * gas/ppc/astest2_64.d: Likewise. * gas/ppc/astest64.d: Likewise. * gas/ppc/booke.d, * gas/ppc/booke.s: Likewise. * gas/ppc/cell.d, * gas/ppc/cell.s: Likewise. * gas/ppc/common.d, * gas/ppc/common.s: Likewise. * gas/ppc/e500.d, * gas/ppc/e500.s: Likewise. * gas/ppc/e500mc.d, * gas/ppc/e500mc.s: Likewise. * gas/ppc/e500mc64_nop.d, * gas/ppc/e500mc64_nop.s: Likewise. * gas/ppc/e5500_nop.d, * gas/ppc/e5500_nop.s: Likewise. * gas/ppc/e6500.d, * gas/ppc/e6500.s: Likewise. * gas/ppc/e6500_nop.d, * gas/ppc/e6500_nop.s: Likewise. * gas/ppc/machine.d: Likewise. * gas/ppc/power4.d, * gas/ppc/power4.s: Likewise. * gas/ppc/power4_32.d, * gas/ppc/power4_32.s: Likewise. * gas/ppc/power6.d, * gas/ppc/power6.s: Likewise. * gas/ppc/power7.d, * gas/ppc/power7.s: Likewise. * gas/ppc/ppc750ps.d, * gas/ppc/ppc750ps.s: Likewise. * gas/ppc/regnames.d: Likewise. * gas/ppc/simpshft.d: Likewise. * gas/ppc/test1elf32.d: Likewise. * gas/ppc/test1elf64.d: Likewise. * gas/ppc/titan.d, * gas/ppc/titan.s: Likewise. * gas/ppc/vle-reloc.s: Likewise. * gas/ppc/vle-simple-1.s: Likewise. * gas/ppc/vle-simple-2.s: Likewise. * gas/ppc/vle-simple-3.s: Likewise. * gas/ppc/vle-simple-4.s: Likewise. * gas/ppc/vle-simple-5.s: Likewise. * gas/ppc/vle-simple-6.s: Likewise. * gas/ppc/vle.s: Likewise. * gas/ppc/vsx.d, * gas/ppc/vsx.s: Likewise.
2012-10-29*** empty log message ***gdbadmin1-1/+1
2012-10-28daily updateAlan Modra1-1/+1
2012-10-28*** empty log message ***gdbadmin1-1/+1
2012-10-27daily updateAlan Modra1-1/+1
2012-10-27gas/testsuite:Iain Sandoe2-1/+8
2012-10-27 James Lemke <jwlemke@codesourcery.com> * gas/m68k/all.exp: Exclude pr11676 for fido-*-*.
2012-10-27*** empty log message ***gdbadmin1-1/+1
2012-10-26daily updateAlan Modra1-1/+1
2012-10-262012-10-26 Pedro Alves <palves@redhat.com>Pedro Alves3-2/+8
* amd64-tdep.c (amd64_relocate_instruction): Use store_unsigned_integer instead of memcpy. * i386-tdep.c (i386_relocate_instruction): Ditto.
2012-10-262012-10-26 Pedro Alves <palves@redhat.com>Pedro Alves2-27/+30
* infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>: Remove comment.
2012-10-262012-10-26 Pedro Alves <palves@redhat.com>Pedro Alves2-5/+5
* infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>: Remove comment.
2012-10-26 * gdb.texinfo (General Query Packets): Use @itemx for QAgent.Tom Tromey2-1/+5
2012-10-262012-10-26 Pedro Alves <palves@redhat.com>Pedro Alves2-0/+7
* target.c (target_waitstatus_to_string): Handle TARGET_WAITKIND_VFORK_DONE.
2012-10-262012-10-26 Pedro Alves <palves@redhat.com>Pedro Alves2-1/+11
* infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED".
2012-10-26 * po/hr.po: New Croation translation.Nick Clifton6-112/+8004
* configure.in (ALL_LINGUAS): Add hr. * configure: Regenerate. * po/uk.po: Updated Ukranian translation.
2012-10-26 * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)Nick Clifton2-0/+24
(DW_AT_APPLE_isa, DW_AT_APPLE_block) (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class) (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name) (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter) (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type) (DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.
2012-10-262012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel14-678/+744
* s390-mkopc.c: Accept empty lines in s390-opc.txt. * s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 and RRF_RMRR. * s390-opc.txt: Add new instructions. New instruction type for lptea. 2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/testsuite/gas/s390/zarch-z10.d: Refreshed. * gas/testsuite/gas/s390/zarch-z10.s: Refreshed. * gas/testsuite/gas/s390/zarch-z196.d: Refreshed. * gas/testsuite/gas/s390/zarch-z196.s: Refreshed. * gas/testsuite/gas/s390/zarch-z9-109.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.s: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.d: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.s: Refreshed.
2012-10-26gas/testsuite:Christian Groessler7-61/+101
* gas/z8k/z8k.exp: Run translate-ops test. * gas/z8k/translate-ops.s: New file. * gas/z8k/translate-ops.d: New file. opcodes: * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove non-existing opcode trtrb. * z8k-opc.h: Regenerate.
2012-10-26 PR target/14758Alan Modra4-3/+93
bfd/ * elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS bfd_reloc values. Map to corresponding D-form relocs. (is_insn_ds_form, is_insn_qs_form): New functions. (ppc_elf_relocate_section): Validate insn with DS-form or DQ-form fields using D-form reloc. gas/ * config/tc-ppc.c (ppc_setup_opcodes): Fix comment. (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64. (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
2012-10-26 * gas/ppc/power4.s: Fix invalid lq offsets.Alan Modra3-92/+81
* gas/ppc/power4.d: Update.
2012-10-26 * ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset.Alan Modra2-2/+6
2012-10-26Add final_layout_sequence.txt to MOSTLYCLEANFILESH.J. Lu3-1/+8
* testsuite/Makefile.am (MOSTLYCLEANFILES): Add final_layout_sequence.txt. * testsuite/Makefile.in: Regenerated.
2012-10-26*** empty log message ***gdbadmin1-1/+1
2012-10-25daily updateAlan Modra1-1/+1
2012-10-25Strip out -Wp,-D_FORTIFY_SOURCE= for gold testsH.J. Lu3-7/+54
* testsuite/Makefile.am (COMPILE1): New variable. Renamed from COMPILE generated by automake. (LINK1): Likewise. (CXXCOMPILE1): Likewise. (CXXLINK1): Likewise. (COMPILE): Strip out -Wp,-D_FORTIFY_SOURCE= from COMPILE1. (LINK): Likewise. (CXXCOMPILE): Likewise. (CXXLINK): Likewise. * testsuite/Makefile.in: Regenerated.
2012-10-25Issue a fatal error on bad fwrite returnH.J. Lu2-1/+8
* dwp.cc (Dwo_file::record_target_info): Issue a fatal error on bad fwrite return.
2012-10-25Use section_offset_type in remap_str_offsetH.J. Lu2-2/+7
* dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type on val.
2012-10-25 * gdb.texinfo (General Query Packets): Use @itemx.Tom Tromey2-7/+11
2012-10-25gdb/testsuite:Yao Qi4-13/+12
* gdb.trace/ftrace.exp (test_fast_tracepoints): Use 'setup_kfail' instead of 'setup_kfail_for_target'. * gdb.base/varargs.exp: Likewise. * lib/gdb.exp (setup_kfail_for_target): Remove.
2012-10-25Replace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgotH.J. Lu3-14/+10
* elf32-i386.c (elf_i386_size_dynamic_sections): Replace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot. * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
2012-10-25gdb.base/ldbl_e308.exp: Do not allow "inf" in value output.Joel Brobecker1-1/+1
That was an attempt at handling the targets where sizeof(long double) is less than 8, but the way it was implement allows the bug that this testcase verifies to come back without being noticed. gdb/testsuite/ChangeLog: * gdb.base/ldbl_e308.exp: Remove "inf" from possible expected output for "print inp" test.
2012-10-25* gdb.base/varargs.exp: PR gdb/12790 is now fixed.Mark Kettenis2-3/+4
2012-10-25* gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.Mark Kettenis2-2/+4
2012-10-25Remove address check if HIDDEN_UNDEF_TEST is definedH.J. Lu2-2/+9
* ld-elfvsb/main.c (main_visibility_checkcom): Remove address check for visibility_def if HIDDEN_UNDEF_TEST is defined. (main_visibility_checkweak): Remove address check for visibility_func if HIDDEN_UNDEF_TEST is defined.
2012-10-25*** empty log message ***gdbadmin1-1/+1
2012-10-24 * ld-scripts/empty-aligned.d: Revert last change. Allow moreAlan Modra3-8/+10
than one header, just not two PT_LOAD. * ld-elf/stack.s: Use .long 0 rather than nops.
2012-10-24daily updateAlan Modra1-1/+1
2012-10-24gas/testsuite/Roland McGrath6-58/+80
* gas/i386/rex.s: Add test of REX prefix before fsave (i.e. fwait). * gas/i386/rex.d: Update. opcodes/ * i386-dis.c (ckprefix): When bailing out for fwait with prefixes, set rex_used to rex.
2012-10-24Don't decompress the section in bfd_is_section_compressedH.J. Lu2-2/+16
* compress.c (bfd_is_section_compressed): Don't decompress the section.
2012-10-24Add comments in ravenscar_sparc_fetch_registers.Joel Brobecker2-0/+9
gdb/ChangeLog: * ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers): Add comments.
2012-10-24remote packet sent after Ravenscar inferior exitedJoel Brobecker2-2/+18
When debugging a program using the Ravenscar profile, the debugger sometimes tries to send the following packet to the remote after the inferior exited. (gdb) c Continuing. [...] Sending packet: $vCont;c:1#13...Ack Packet received: W00 Sending packet: $Hg1#e0...putpkt: write failed: Broken pipe. As the inferior exited, the remote has already disconnected, and thus the operation fails. The reason why GDB sends the package is because the ravenscar-thread module tries to updates the list of threads. But this doesn't make sense, since the program has exited. This patch fixes it. gdb/ChangeLog: * ravenscar-thread.c (ravenscar_wait): Only update the list of threads and inferior_ptid if the inferior is still alive.
2012-10-24[Ada] use lbasename when testing if file is part of Ada runtime.Joel Brobecker2-1/+7
We use a list of regular expressions to match a symtab filenames against the names of the files in the Ada runtime. These regular expressions do assume that the filename is a basename, however. So make sure to evaluate these regular expressions against the symtab's filename. Without this patch, we run into problems when the Ada runtime was built using a project file (through gprbuild). gdb/ChangeLog: * ada-lang.c (is_known_support_routine): Use lbasename when matching the symtab's filename against known_runtime_file_name_patterns.
2012-10-24[Ada] Allow assignment to wide string.Joel Brobecker7-3/+233
Given the following variable declaration... Www : Wide_String := "12345"; ... this patch allows the following assignment to work: (gdb) set variable www := "qwert" Without this patch, the debugger rejects the assignment because the size of the array elements are different: (gdb) set www := "asdfg" Incompatible types in assignment (on the lhs, we have an array of 2-bytes elements, and on the rhs, we have a standard 1-byte string). gdb/ChangeLog: * ada-lang.c (ada_same_array_size_p): New function. (ada_promote_array_of_integrals): New function. (coerce_for_assign): Add handling of arrays where the elements are integrals of a smaller size than the size of the target array element type. gdb/testsuite/ChangeLog: * gdb.ada/set_wstr: New testcase.
2012-10-24off-by-one max exponent computation in convert_doublest_to_floatformatJoel Brobecker5-1/+67
Assuming the following variable definition: long double inp = 2.0; On platforms where "long double" is a double precision IEEE flaoting point, GDB currently behaves as follow: (gdb) set variable inp = 1.6e+308l (gdb) p inp $2 = inf <<<<---- !!!! Instead, the value of "inp" should be printed as: (gdb) p inp $1 = 1.6e+308 The problem is due to a small error in the comparison of the exponent versus the maximum value this exponent can take, causing us to think that the value was too big to fit. But it isn't. gdb/ChangeLog: * doublest.c (convert_doublest_to_floatformat): Fix comparison against maximum exponent value. gdb/testsuite/ChangeLog: * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2012-10-24[Ada] Skip unwind-seh.c when searching first "user" frameJoel Brobecker2-0/+6
On x86_64-windows with GCC 4.7 (using native SEH info), the debugger behaves as follow: (gdb) catch exception unhandled Catchpoint 1: unhandled Ada exceptions (gdb) run Starting program: C:\[...]\b.exe Catchpoint 1, unhandled CONSTRAINT_ERROR at 0x000000000040cc57 in _GCC_specific_handler ([...]) at ../../../src/libgcc/unwind-seh.c:289 [...] This is after compiler the following code: procedure B is begin raise Constraint_Error; end B; ... using the following command: % gnatmake -g b When hitting the exception catchpoint, it should have gone up the stack all the way until finding the frame corresponding to procedure B. But if stopped short because unwind-seh.c is compiled with debugging information, and the debugger is also able to locate that source file. To prevent this from happening, this patch adds unwind-seh.c to the list of files that should be ignored, regardless of other factors. gdb/ChangeLog: * ada-lang.h (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Add entry for "unwind-seh.c".