{"push_id":812532840,"size":1000,"distinct_size":204,"ref":"refs/heads/syscall","head":"9852dbc4cf88a4158d90e91cead52aa16dd8918f","before":"accfc7f93ee12db6a60b246726721a9c68161985","commits":[{"sha":"946748d5ed1d218adfccd523be9fdf280adfe434","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Don't set sh_size for .shstrtab twice\n\n_bfd_elf_assign_file_positions_for_non_load will set the sh_size\nfield for .shstrtab section.  There is need to initialize it in\n_bfd_elf_compute_section_file_positions.\n\n\t* elf.c (_bfd_elf_compute_section_file_positions): Don't\n\tinitialize sh_size for .shstrtab here.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/946748d5ed1d218adfccd523be9fdf280adfe434"},{"sha":"3f3070745b78c25d7b16c913c15496b296802505","author":{"email":"10099878e72cf7e0ee4aa0cbce77aa8d5e6825f3@redhat.com","name":"DJ Delorie"},"message":"Fix REL handling for MSP430\n\n* elf32-msp430.c (msp430_final_link_relocate): Fix comments.  Fix\nREL loads to match RELA stores.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/3f3070745b78c25d7b16c913c15496b296802505"},{"sha":"920d644c6377a0bf7419ae8a24bac6e101beb847","author":{"email":"46ff6e41b02a6ff6bd50cc64faab96b75208d63d@sourceware.org","name":"GDB Administrator"},"message":"Automatic date update in version.in","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/920d644c6377a0bf7419ae8a24bac6e101beb847"},{"sha":"a5499fa4649e4325cf46edfff2f24dae2fe2afef","author":{"email":"d86940d22f7b6ffbcf7677c200f579e790553af9@imgtec.com","name":"Matthew Fortune"},"message":"Add support for DT_MIPS_RLD_MAP_REL.\n\nThis tag makes it possible to access the debug map when debugging position\nindependent executables.\n\nbfd/\n\n\t* elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Use executable\n\tinstead of !shared to indicate an application vs shared library.\n\t(_bfd_mips_elf_size_dynamic_sections): Likewise.\n\t(_bfd_mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP_REL.\n\t(_bfd_mips_elf_get_target_dtag): Likewise.\n\nbinutils/\n\n\t* readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.\n\ninclude/\n\n\t* elf/mips.h (DT_MIPS_RLD_MAP_REL): New macro.\n\nld/testsuite/\n\n\t* ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag.\n\t* ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.\n\t* ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.\n\t* ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.\n\t* ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.\n\t* ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.\n\t* ld-mips-elf/tlsdyn-o32-1.d: Likewise.\n\t* ld-mips-elf/tlsdyn-o32-1.got: Likewise.\n\t* ld-mips-elf/tlsdyn-o32-2.d: Likewise.\n\t* ld-mips-elf/tlsdyn-o32-2.got: Likewise.\n\t* ld-mips-elf/tlsdyn-o32-3.d: Likewise.\n\t* ld-mips-elf/tlsdyn-o32-3.got: Likewise.\n\t* ld-mips-elf/tlsdyn-o32.d: Likewise.\n\t* ld-mips-elf/tlsdyn-o32.got: Likewise.\n\t* ld-mips-elf/pie-n32.d: New file.\n\t* ld-mips-elf/pie-n64.d: Likewise.\n\t* ld-mips-elf/pie-o32.d: Likewise.\n\t* ld-mips-elf/pie.s: Likewise.\n\t* ld-mips-elf/mips-elf.exp: Add new tests.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/a5499fa4649e4325cf46edfff2f24dae2fe2afef"},{"sha":"c742574f825fe43d1e7203fca8690c008b525e97","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Compile-in IAMCU linker scripts\n\n\t* emulparams/elf_iamcu.sh (COMPILE_IN): New.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/c742574f825fe43d1e7203fca8690c008b525e97"},{"sha":"6e22494e5076e4d3c0b2c2785883162f83db499e","author":{"email":"bb271a05043db396cc975a0c35ecf24f1f8ce1ab@redhat.com","name":"Jan Kratochvil"},"message":"Do not skip prologue for asm (.S) files\n\nGDB tries to skip prologue for .S files according to .debug_line but it then\nplaces the breakpoint to a location where it is never hit.\n\nThis is because #defines in .S files cause prologue skipping which is\ncompletely inappropriate, for s390x:\n\nglibc/sysdeps/unix/syscall-template.S\n78:/* This is a \"normal\" system call stub: if there is an error,\n79:   it returns -1 and sets errno.  */\n80:\n81:T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)\n82:     ret\n\n00000000000f4210 T __select\n Line Number Statements:\n  Extended opcode 2: set Address to 0xf41c8\n  Advance Line by 80 to 81\n  Copy\n  Advance PC by 102 to 0xf422e\n  Special opcode 6: advance Address by 0 to 0xf422e and Line by 1 to 82\n  Special opcode 34: advance Address by 2 to 0xf4230 and Line by 1 to 83\n  Advance PC by 38 to 0xf4256\n  Extended opcode 1: End of Sequence\n  Compilation Unit @ offset 0x28b3e0:\n <0><28b3eb>: Abbrev Number: 1 (DW_TAG_compile_unit)\n    <28b3ec>   DW_AT_stmt_list   : 0x7b439\n    <28b3f0>   DW_AT_low_pc\t : 0xf41c8\n    <28b3f8>   DW_AT_high_pc     : 0xf4256\n    <28b400>   DW_AT_name        : ../sysdeps/unix/syscall-template.S\n    <28b423>   DW_AT_comp_dir    : /usr/src/debug////////glibc-2.17-c758a686/misc\n    <28b452>   DW_AT_producer    : GNU AS 2.23.52.0.1\n    <28b465>   DW_AT_language    : 32769        (MIPS assembler)\n\nwithout debuginfo or with debuginfo and the fix - correct address:\n(gdb) b select\nBreakpoint 1 at 0xf4210\n\nIt is also where .dynsym+.symtab point to:\n00000000000f4210 T __select\n00000000000f4210 W select\n\nwith debuginfo, without the fix:\n(gdb) b select\nBreakpoint 1 at 0xf41c8: file ../sysdeps/unix/syscall-template.S, line 81.\n\nOne part is to behave for asm files similar way like for 'locations_valid':\n  /* Symtab has been compiled with both optimizations and debug info so that\n     GDB may stop skipping prologues as variables locations are valid already\n     at function entry points.  */\n  unsigned int locations_valid : 1;\n\nThe other part is to extend the 'locations_valid'-like functionality more.\n\nBoth minsym_found and find_function_start_sal need to be patched, otherwise\ntheir addresses do not match and GDB regresses on ppc64:\n\ngdb/ChangeLog\n2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>\n\n\t* linespec.c (minsym_found): Reset sal.PC for COMPUNIT_LOCATIONS_VALID\n\tand language_asm..\n\t* symtab.c (find_function_start_sal): Likewise.\n\ngdb/testsuite/ChangeLog\n2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>\n\n\t* gdb.arch/amd64-prologue-skip.S: New file.\n\t* gdb.arch/amd64-prologue-skip.exp: New file.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/6e22494e5076e4d3c0b2c2785883162f83db499e"},{"sha":"2e52ae68e7cedc3a1f9908c98ee60a8602705835","author":{"email":"cbb7353e6d953ef360baf960c122346276c6e320@parcs.ath.cx","name":"Patrick Palka"},"message":"Add tab completion for TUI's \"focus\" command\n\nThe implementation is pretty straightforward, with the only caveat being\nthat the \"src\", \"cmd\", \"next\" and \"prev\" entries get delibrately added\nto the completion list even when the TUI has not yet been initialized\n(i.e. has never been enabled during the session), since invoking the\n\"focus\" command with these arguments already works when the TUI has not\nyet been initialized.\n\ngdb/ChangeLog:\n\n\t* tui/tui-win.c (focus_completer): New static function.\n\t(_initialize_tui_win): Set the completion function of the\n\t\"focus\" command to focus_completer.\n\ngdb/testsuite/ChangeLog:\n\n\t* gdb.base/completion.exp: Test the completion of the \"focus\"\n\tcommand.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/2e52ae68e7cedc3a1f9908c98ee60a8602705835"},{"sha":"fc637f04c741b08726cc1631428bf094235ecb4e","author":{"email":"cbb7353e6d953ef360baf960c122346276c6e320@parcs.ath.cx","name":"Patrick Palka"},"message":"Add option to remove duplicate command history entries\n\nThis patch implements the new option \"history remove-duplicates\", which\ncontrols the removal of duplicate history entries (\"off\" by default).\n\nThe motivation for this option is to be able to reduce the prevalence of\nbasic commands such as \"up\" and \"down\" in the history file.  These\ncommon commands crowd out more unique commands in the history file (when\nthe history file has a fixed size), and they make navigation of the\nhistory file via ^P, ^N and ^R more inconvenient.\n\nThe option takes an integer denoting the number of history entries to\nlook back at for a history entry that is a duplicate of the latest one.\n\"history remove-duplicates 1\" is equivalent to bash's ignoredups option,\nand \"history remove-duplicates unlimited\" is equivalent to bash's\nerasedups option.\n\n[ I decided to go with this integer approach instead of a tri-state enum\n  because it's slightly more flexible and seemingly more intuitive than\n  leave/erase/ignore.  ]\n\ngdb/ChangeLog:\n\n\t* NEWS: Mention the new option \"history remove-duplicates\".\n\t* top.c (history_remove_duplicates): New static variable.\n\t(show_history_remove_duplicates): New static function.\n\t(gdb_add_history): Conditionally remove duplicate history\n\tentries.\n\t(init_main): Add \"history remove-duplicates\" option.\n\ngdb/doc/ChangeLog:\n\n\t* gdb.texinfo (Command History): Document the new option\n\t\"history remove-duplicates\".\n\ngdb/testsuite/ChangeLog:\n\n\t* gdb.base/history-duplicates.exp: New test.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/fc637f04c741b08726cc1631428bf094235ecb4e"},{"sha":"ee93cd5e1e61e5739a1a44e0d1d166ae09d04dc2","author":{"email":"43f9ff69900eb01f5b3cad3f1b0319fe077eef7f@redhat.com","name":"Keith Seitz"},"message":"PR 16253 revisited\n\nLast year a patch was submitted/approved/commited to eliminate\nsymbol_matches_domain which was causing this problem.  It was later reverted\nbecause it introduced a (severe) performance regression.\n\nRecap:\n\n(gdb) list\n1\tenum e {A,B,C} e;\n2\tint main (void) { return 0; }\n3\n(gdb) p e\nAttempt to use a type name as an expression\n\nThe parser attempts to find a symbol named \"e\" of VAR_DOMAIN.\nThis gets passed down through lookup_symbol and (eventually) into\nblock_lookup_symbol_primary, which iterates over the block's dictionary\nof symbols:\n\n  for (sym = dict_iter_name_first (block->dict, name, &dict_iter);\n       sym != NULL;\n       sym = dict_iter_name_next (name, &dict_iter))\n    {\n      if (symbol_matches_domain (SYMBOL_LANGUAGE (sym),\n                                 SYMBOL_DOMAIN (sym), domain))\n        return sym;\n    }\n\nThe problem here is that we have a symbol named \"e\" in both STRUCT_DOMAIN\nand VAR_DOMAIN, and for languages like C++, Java, and Ada, where a tag name\nmay be used as an implicit typedef of the type, symbol_matches_domain ignores\nthe difference between VAR_DOMAIN and STRUCT_DOMAIN.  As it happens, the\nSTRUCT_DOMAIN symbol is found first, considered a match, and that symbol is\nreturned to the parser, eliciting the (now dreaded) error message.\n\nSince this bug exists specifically because we have both STRUCT and VAR_DOMAIN\nsymbols in a given block/CU, this patch rather simply/naively changes\nblock_lookup_symbol_primary so that it continues to search for an exact\ndomain match on the symbol if symbol_matches_domain returns a symbol\nwhich does not exactly match the requested domain.\n\nThis \"fixes\" the immediate problem, but admittedly might uncover other,\nrelated bugs.  [Paranoia?] However, it causes no regressions (functional\nor performance) in the test suite.  A similar change has been made\nto block_lookup_symbol for other cases in which this bug might appear.\n\nThe tests from the previous submission have been resurrected and updated.\nHowever since we can still be given a matching symbol with a different domain\nthan requested, we cannot say that a symbol \"was not found.\"  The error\nmessages today will still be the (dreaded) \"Attempt to use a type name...\"\n\nChangeLog\n\n\tPR 16253\n\t* block.c (block_lookup_symbol): For non-function blocks,\n\tcontinue to search for a symbol with an exact domain match\n\tOtherwise, return any previously found \"best domain\" symbol.\n\t(block_lookup_symbol_primary): Likewise.\n\ntestsuite/ChangeLog\n\n\tPR 16253\n\t* gdb.cp/var-tag-2.cc: New file.\n\t* gdb.cp/var-tag-3.cc: New file.\n\t* gdb.cp/var-tag-4.cc: New file.\n\t* gdb.cp/var-tag.cc: New file.\n\t* gdb.cp/var-tag.exp: New file.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/ee93cd5e1e61e5739a1a44e0d1d166ae09d04dc2"},{"sha":"98090c0be30fb626aed09a7f9973b9c9980cce56","author":{"email":"46ff6e41b02a6ff6bd50cc64faab96b75208d63d@sourceware.org","name":"GDB Administrator"},"message":"Automatic date update in version.in","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/98090c0be30fb626aed09a7f9973b9c9980cce56"},{"sha":"a2a55a40071096faef218f34dad3adf34db9b1ed","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Update xtensa linker tests\n\n\t* ld-xtensa/tlsbin.rd: Updated.\n\t* ld-xtensa/tlspic.rd: Likewise.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/a2a55a40071096faef218f34dad3adf34db9b1ed"},{"sha":"216cb5839a931d3d61aff8e0de9e49183e3d69c1","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Update ia64 gas tests\n\n\t* gas/ia64/psn.d: Updated.\n\t* gas/ia64/xdata-ilp32.d: Likewise.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/216cb5839a931d3d61aff8e0de9e49183e3d69c1"},{"sha":"e44fbadbede56bf42896c2b3214a056cf20f131e","author":{"email":"46ff6e41b02a6ff6bd50cc64faab96b75208d63d@sourceware.org","name":"GDB Administrator"},"message":"Automatic date update in version.in","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/e44fbadbede56bf42896c2b3214a056cf20f131e"},{"sha":"ee0c0c503deffb7baf900ac8e092b18bf8c1528a","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Remove COMPRESS_DEBUG_ZLIB\n\nCOMPRESS_DEBUG_ZLIB isn't needed.  This patch removes COMPRESS_DEBUG_ZLIB\nand replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.\n\nbfd/\n\n\t* bfd-in.h (compressed_debug_section_type): Remove\n\tCOMPRESS_DEBUG_ZLIB.\n\t* bfd-in2.h : Regenerated.\ngas/\n\n\t* as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with\n\tCOMPRESS_DEBUG_GNU_ZLIB.\n\t* config/tc-i386.c (flag_compress_debug): Likewise.\n\nld/\n\n\t* emultempl/elf32.em  (gld${EMULATION_NAME}_handle_option):\n\tReplace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/ee0c0c503deffb7baf900ac8e092b18bf8c1528a"},{"sha":"73cb0348b296656e971c4d428aa63781e656a1c4","author":{"email":"2a3695df0edcde19d41e033e172c391a56c7af17@redhat.com","name":"Nick Clifton"},"message":"Add support for ARM v6 instructions.\n\n\t* Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.\n\t* armdefs.h (ARMdval, ARMfval): New types.\n\t(ARM_VFP_reg): New union.\n\t(struct ARMul_State): Add VFP_Reg and FPSCR fields.\n\t(VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor\n\tmacros for the new VFP_Reg field.\n\t* armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,\n\tQADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,\n\tUSUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX\n\tinstructions.\n\t(handle_VFP_move): New function.\n\t(ARMul_Emulate16): Add checks for newly supported v6\n\tinstructions.  Add support for VMRS, VMOV and MRC instructions.\n\t(Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when\n\toperating in v6 mode.\n\t* armemu.h (t_resolved): Define.\n\t* armsupp.c: Include math.h.\n\t(handle_VFP_xfer): New function.  Handles VMOV, VSTM, VSTR, VPUSH,\n\tVSTM, VLDM and VPOP instructions.\n\t(ARMul_LDC): Test for co-processor 10 or 11 and pass call to the\n\tnew handle_VFP_xfer function.\n\t(ARMul_STC): Likewise.\n\t(handle_VFP_op): New function.  Handles VMLA, VMLS, VNMLA, VNMLS,\n\tVNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,\n\tVCMPE and VCVT instructions.\n\t(ARMul_CDP): Test for co-processor 10 or 11 and pass call to the\n\tnew handle_VFP_op function.\n\t* thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.\n\t(test_cond): New function.  Tests a condition and returns non-zero\n\tif the condition has been met.\n\t(handle_IT_block): New function.\n\t(in_IT_block): New function.\n\t(IT_block_allow): New function.\n\t(ThumbExpandImm): New function.\n\t(handle_T2_insn): New function.  Handles T2 thumb instructions.\n\t(handle_v6_thumb_insn): Add next_instr and pc parameters.\n\t(ARMul_ThumbDecode): Add support for IT blocks.  Add support for\n\tv6 instructions.\n\t* wrapper.c (sim_create_inferior): Detect a thumb address and call\n\tSETT appropriately.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/73cb0348b296656e971c4d428aa63781e656a1c4"},{"sha":"bb0eef66f82c97b863951eddd0c47e28faf716a8","author":{"email":"46ff6e41b02a6ff6bd50cc64faab96b75208d63d@sourceware.org","name":"GDB Administrator"},"message":"Automatic date update in version.in","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/bb0eef66f82c97b863951eddd0c47e28faf716a8"},{"sha":"1451ea7da40a82e8cf6a39fa8d0fc74ff230600a","author":{"email":"849534a30cbb3e3ef3ecefba82412891f1aaeb01@arm.com","name":"Pierre Langlois"},"message":"Update my email address\n\ngdb/ChangeLog:\n\n\t* MAINTAINERS (Write After Approval): Update my email address.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/1451ea7da40a82e8cf6a39fa8d0fc74ff230600a"},{"sha":"37d669427f8b90f3c9d17a6e04d72c731d3abdbc","author":{"email":"849534a30cbb3e3ef3ecefba82412891f1aaeb01@arm.com","name":"Pierre Langlois"},"message":"[GDBServer][AArch64] Use the same break instruction as GDB\n\nGDB uses a \"brk #0\" instruction to perform a software breakpoint while\nGDBServer uses an illegal instruction.  Both instructions should match.\n\nWhen enabling support for the 'Z0' packet, we let GDBServer insert the\nbreakpoint instruction instead of GDB.  And in case of permanent\nbreakpoints for example, GDB will check if a breakpoint is inserted in the\ninferior with `program_breakpoint_here_p (gdbarch, address)', and\ncompare the instruction read from the inferior with the breakpoint\ninstruction.\n\nOn AArch64, instructions are always little endian so we need to\nrepresent it as an array of bytes, as done in aarch64-tdep.c.\n\ngdb/gdbserver/ChangeLog:\n\n\t* linux-aarch64-low.c: Remove comment about endianness.\n\t(aarch64_breakpoint): Change type to gdb_byte[].  Set to \"brk #0\".\n\t(aarch64_breakpoint_at): Change type of insn to gdb_byte[].  Use\n\tmemcmp.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/37d669427f8b90f3c9d17a6e04d72c731d3abdbc"},{"sha":"96c97461222f9cb1a16b3b90fb7316c9c3d8732a","author":{"email":"849534a30cbb3e3ef3ecefba82412891f1aaeb01@arm.com","name":"Pierre Langlois"},"message":"[GDBServer][AArch64] Enable support for Z0 packets\n\nThis patch lets GDBServer handle software breakpoints instead of relying\non GDB.\n\ngdb/gdbserver/ChangeLog:\n\n\t* linux-aarch64-low.c (aarch64_supports_z_point_type): Enable for\n\tZ_PACKET_SW_BP.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/96c97461222f9cb1a16b3b90fb7316c9c3d8732a"},{"sha":"2880b51c25b055013c2f4939a5d0c0779b972bb3","author":{"email":"849534a30cbb3e3ef3ecefba82412891f1aaeb01@arm.com","name":"Pierre Langlois"},"message":"Fix email in ChangeLog entry.","distinct":false,"url":"https://api.github.com/repos/cuviper/binutils-gdb/commits/2880b51c25b055013c2f4939a5d0c0779b972bb3"}]}