{"push_id":1241600910,"size":91,"distinct_size":91,"ref":"refs/heads/tls_dev","head":"9f97782eadeb647092fb9702f716039d60140b82","before":"7e7470e6e3cbf9034641cc555d27b86334793871","commits":[{"sha":"c02d11a585398734a2178d65a17411cd3050b9d2","author":{"name":"Cupertino Miranda","email":"33704f3a3d98a895f18fc7c13a2018d8b2b084b2@synopsys.com"},"message":"Fix segfault in ARC linker when generating got entries for local symbols.\n\nbfd\t* arc-got.h (relocate_fix_got_relocs_for_got_info): Handle the case\n\twhere there's no elf_link_hash_entry while processing GOT_NORMAL got\n\tentries.\n\nld\t* testsuite/ld-arc/got-01.d: New file.\n\t* testsuite/ld-arc/got-01.s: New file.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/c02d11a585398734a2178d65a17411cd3050b9d2"},{"sha":"eed2386e45968fa4fee8d093895f4789044fb077","author":{"name":"Yao Qi","email":"60f807c08bf7f2b83d506681f7fe011fd9751910@linaro.org"},"message":"Get \"num\" as unsigned in ctf\n\nI see the following fail due to the warning,\n\n-trace-frame-collected^M\n[warning] Extracting signed value from an unsigned int (num)^M\n....\nFAIL: gdb.trace/mi-trace-frame-collected.exp: ctf: -trace-frame-collected\n\nIn ctf metadata, \"num\" in \"tsv\" is defined as unint32_t,\n\n  ctf_save_write_metadata (&writer->tcs,\n\t\t\t   \"event {\\n\\tname = \\\"tsv\\\";\\n\\tid = %u;\\n\"\n\t\t\t   \"\\tfields := struct { \\n\"\n\t\t\t   \"\\t\\tuint64_t val;\\n\"\n\t\t\t   \"\\t\\tuint32_t num;\\n\"\n\t\t\t   \"\\t};\\n\"\n\t\t\t   \"};\\n\", CTF_EVENT_ID_TSV);\n\nso we should read it as unsigned.  The patch below fixes the fail by\nchanging to bt_ctf_get_uint64.\n\ngdb:\n\n2016-07-22  Yao Qi  <yao.qi@linaro.org>\n\n\t* ctf.c (ctf_traceframe_info): Call bt_ctf_get_uint64 rather than\n\tbt_ctf_get_int64.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/eed2386e45968fa4fee8d093895f4789044fb077"},{"sha":"e98c9e7ce1c9fd2a5ad99ae2de637b4c16d999b3","author":{"name":"Tom Tromey","email":"55bc7b18e460d0d077310393ffbc002e6fe4eaec@tromey.com"},"message":"PR rust/20162 - fix gdb regressions caused by rust 1.10\n\nPR rust/20162 started life as a reminder to test gdb with versions of\nrust after 1.8; but now concerns some gdb regressions seen with rust\n1.10 (\"beta\") and 1.11 (\"nightly\").\n\nThe failures turn out to be a discrepancy between how rustc emits\nDWARF and how gdb interprets it.  In particular, rustc will emit DWARF\nlike:\n\n <2><bc>: Abbrev Number: 9 (DW_TAG_structure_type)\n    <bd>   DW_AT_name        : (indirect string, offset: 0x46a): HasMethods\n    <c1>   DW_AT_byte_size   : 4\n...\n <3><cc>: Abbrev Number: 11 (DW_TAG_subprogram)\n...\n    <df>   DW_AT_name        : (indirect string, offset: 0x514f): new\n\ngdb wants to see a separate top-level DW_TAG_subprogram that refers to\nthis one via DW_AT_specification; but rustc doesn't emit one.  By my\nreading of DWARF 4 5.5.7, this is ok, and gdb is incorrect here.\n\nFixing this involved a new case in scan_partial_symbols, and then a\nfurther change in process_structure_scope to account for the fact\nthat, in Rust, such functions are not methods and should not be\nattached to the structure type.\n\nNext, it turns out that rust is emitting bad values for\nDW_AT_linkage_name, e.g.:\n\n    <db>   DW_AT_linkage_name: (indirect string, offset: 0x422): _ZN7methods8{{impl}}3newE\n\nThe the \"{{impl}}\" stuff is apparently some side effect of a change to\nthe compiler's internal representation.  Oops!\n\nThis also had a simple fix -- disregard these mangled names.\n\nWith these changes, there are no regressions in the gdb Rust tests\nwith either 1.10 or 1.11.  1.9, the stable release, is still pretty\nbroken, but I think there's nothing much to do about that.\n\nThese changes are a bit hackish, but no worse, I think, than other\nkinds of quirk handling already done in the DWARF parser.  I have\nreported all the rustc bugs upstream.  I plan to remove these hacks\nfrom gdb some suitable time after they have been fixed in released\nversions of Rust.\n\n2016-07-22  Tom Tromey  <tom@tromey.com>\n\n\tPR rust/20162:\n\t* dwarf2read.c (scan_partial_symbols) <DW_TAG_structure_type>:\n\tCall scan_partial_symbols for children when reading a Rust CU.\n\t(dwarf2_physname): Ignore invalid DW_AT_linkage_name generated by\n\trustc.\n\t(process_structure_scope) <DW_TAG_subprogram>: Call\n\tread_func_scope for Rust.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/e98c9e7ce1c9fd2a5ad99ae2de637b4c16d999b3"},{"sha":"cac709756b00c57a375f40e032d2eb4f5dbd3804","author":{"name":"GDB Administrator","email":"11ecb00f5f667eff143dbb3d0b19c76373a421f1@sourceware.org"},"message":"Automatic date update in version.in","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/cac709756b00c57a375f40e032d2eb4f5dbd3804"},{"sha":"463888ab6be549e8dcc9eac36dc07c1c237e2968","author":{"name":"Руслан Ижбулатов","email":"9620efa85bbd2aea1b41919e505fd78de69d24b5@gmail.com"},"message":"Support JIT debugging on MS-Windows\n\ngdb/ChangeLog:\n2016-06-30  Руслан Ижбулатов  <lrn1986@gmail.com>\n\n\tPR gdb/14529\n\t* windows-nat.c (signal_event_command): New command 'signal-event'\n\tfor W32 JIT debug support.\n\t* NEWS: Add an entry about the new 'signal-event' command.\n\ngdb/doc/ChangeLog:\n2016-06-30  Руслан Ижбулатов  <lrn1986@gmail.com>\n\n\t* gdb.texinfo (Cygwin Native): Document the new 'signal-event'\n\tcommand.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/463888ab6be549e8dcc9eac36dc07c1c237e2968"},{"sha":"49ecef2a7da2ee9df4ae675f99b70518fbf1bb23","author":{"name":"Andrew Pinski","email":"8383fa15718d39f174577190755e3703aeed88fa@cavium.com"},"message":"Fix ARMv8.1/v8.2 for hw watchpoint and breakpoint\n\nThe problem here is ARMv8.1 (and ARMv8.2) define a\ndifferent debug version than ARMv8 (7 and 8 respectively).\nThis fixes hw watchpoints and breakpoints by checking\nfor those debug versions too.\n\nCommitted as obvious after a test on aarch64-linux-gnu\n(on a ThunderX machine which has ARMv8.1 support enabled).\n\nChangeLog:\n\t* nat/aarch64-linux-hw-point.c\n\t(aarch64_linux_get_debug_reg_capacity): Handle\n\tARMv8.1 and ARMv8.2 debug versions.\n\t* nat/aarch64-linux-hw-point.h\n\t(AARCH64_DEBUG_ARCH_V8_1): New define.\n\t(AARCH64_DEBUG_ARCH_V8_2): New define.\n\nSigned-off-by: Andrew Pinski <apinski@cavium.com>","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/49ecef2a7da2ee9df4ae675f99b70518fbf1bb23"},{"sha":"e34879080d8935792ef3942efa5f25b4c3169b5a","author":{"name":"Gabriel Krisman Bertazi","email":"e522195f0c1ec3a2c8267b9adf2d51825c21ff23@krisman.be"},"message":"Implement catch syscall group\n\nImplement support to add catchpoints for a group of related syscalls\nusing the syntax:\n\n(gdb) catch syscall group:<group>\nor\n(gdb) catch syscall g:<group>\n\nSeveral groups are predefined in the xml files for all architectures\nsupported by GDB over Linux.  They are based on the groups defined by\nstrace.\n\ngdb/\n\n\t* xml-syscall.c (get_syscalls_by_group): New.\n\t(get_syscall_group_names): New.\n\t(struct syscall_group_desc): New structure to store group data.\n\t(struct syscalls_info): Include field to store the group list.\n\t(sysinfo_free_syscall_group_desc): New.\n\t(free_syscalls_info): Free group list.\n\t(syscall_group_create_syscall_group_desc): New.\n\t(syscall_group_add_syscall): New.\n\t(syscall_create_syscall_desc): Add syscall to its groups.\n\t(syscall_start_syscall): Load group attribute.\n\t(syscall_group_get_group_by_name): New.\n\t(xml_list_syscalls_by_group): New.\n\t(xml_list_of_groups): New.\n\t* xml-syscall.h (get_syscalls_by_group): Export function\n\tto retrieve a list of syscalls filtered by the group name.\n\t(get_syscall_group_names): Export function to retrieve the list\n\tof syscall groups.\n\t* break-catch-syscall.c (catch_syscall_split_args): Verify if\n\targument is a syscall group and expand it to a list of syscalls\n\twhen creating catchpoints.\n\t(catch_syscall_completer): Add word completion for system call\n\tgroups.\n\t* configure.ac: Include dependency for xsltproc when building\n\tin maintainer-mode.\n\t* break-catch-syscall.c (_initialize_breakpoint): Update catch\n\tsyscall command documentation.\n\t* NEWS: Include section about catching groups of syscalls.\n\t* configure: Regenerate.\n\t* data-directory/Makefile.in: Generate syscall xml when building\n\tin maintainer mode.\n\t* syscalls/gdb-syscalls.dtd: Include group attribute to the\n\tsyscall element.\n\t* syscalls/apply-defaults.xsl: New.\n\t* syscalls/linux-defaults.xml.in: New.\n\t* syscalls/aarch64-linux.xml: Rename to aarch64-linux.xml.in.\n\t* syscalls/amd64-linux.xml: Rename to amd64-linux.xml.in.\n\t* syscalls/arm-linux.xml: Rename to arm-linux.xml.in.\n\t* syscalls/bfin-linux.xml: Rename to bfin-linux.xml.in.\n\t* syscalls/i386-linux.xml: Rename to i386-linux.xml.in.\n\t* syscalls/mips-n32-linux.xml: Rename to mips-n32-linux.xml.in.\n\t* syscalls/mips-n64-linux.xml: Rename to mips-n64-linux.xml.in.\n\t* syscalls/mips-o32-linux.xml: Rename to mips-o32-linux.xml.in.\n\t* syscalls/ppc-linux.xml: Rename to ppc-linux.xml.in.\n\t* syscalls/ppc64-linux.xml: Rename to ppc64-linux.xml.in.\n\t* syscalls/s390-linux.xml: Rename to s390-linux.xml.in.\n\t* syscalls/s390x-linux.xml: Rename to s390x-linux.xml.in.\n\t* syscalls/sparc-linux.xml: Rename to sparc-linux.xml.in.\n\t* syscalls/sparc64-linux.xml: Rename to sparc64-linux.xml.in.\n\t* syscalls/aarch64-linux.xml: Regenerate.\n\t* syscalls/amd64-linux.xml: Regenerate.\n\t* syscalls/arm-linux.xml: Regenerate.\n\t* syscalls/i386-linux.xml: Regenerate.\n\t* syscalls/mips-n32-linux.xml: Regenerate.\n\t* syscalls/mips-n64-linux.xml: Regenerate.\n\t* syscalls/mips-o32-linux.xml: Regenerate.\n\t* syscalls/ppc-linux.xml: Regenerate.\n\t* syscalls/ppc64-linux.xml: Regenerate.\n\t* syscalls/s390-linux.xml: Regenerate.\n\t* syscalls/s390x-linux.xml: Regenerate.\n\t* syscalls/sparc-linux.xml: Regenerate.\n\t* syscalls/sparc64-linux.xml: Regenerate.\n\ngdb/testsuite/\n\n\t* gdb.base/catch-syscall.exp (do_syscall_tests): Add call\n\tto test_catch_syscall_group.\n\t(test_catch_syscall_group): New.\n\ngdb/doc/\n\n\t* gdb.texinfo (Set Catchpoints): Add 'group' argument to catch\n\tsyscall.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/e34879080d8935792ef3942efa5f25b4c3169b5a"},{"sha":"074e493dbdfcbd36819593f5797370585edf0118","author":{"name":"GDB Administrator","email":"11ecb00f5f667eff143dbb3d0b19c76373a421f1@sourceware.org"},"message":"Automatic date update in version.in","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/074e493dbdfcbd36819593f5797370585edf0118"},{"sha":"a173d7f80df1bb1edeb627bbfbe613e27cdc584c","author":{"name":"GDB Administrator","email":"11ecb00f5f667eff143dbb3d0b19c76373a421f1@sourceware.org"},"message":"Automatic date update in version.in","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/a173d7f80df1bb1edeb627bbfbe613e27cdc584c"},{"sha":"95804507f2645c1cce29f2e1a33031accaa6aa24","author":{"name":"Alan Modra","email":"3aed519d178e2cda00510b9335fdf9c9798caeee@gmail.com"},"message":"Revise targets able to run ELF 64k section test\n\n\t* testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k\n\tand m32r.  Correct comment.  Relax ld -r match to account for\n\tmsp increased number of default sections.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/95804507f2645c1cce29f2e1a33031accaa6aa24"},{"sha":"c0272db5854a799a9f3bb3803c3d03d1a62b9ac2","author":{"name":"Tim Wiederhake","email":"3e855b2822e8773cc76757c497fa285ffbccf753@intel.com"},"message":"btrace: Resume recording after disconnect.\n\nThis patch allows gdbserver to continue recording after disconnect.  On\nreconnect, the recorded data is accessible to gdb as if no disconnect happened.\n\nA possible application for this feature is remotely examine bugs that occur\nat irregular intervals, where maintaining a gdb connection is inconvenient.\n\nThis also fixes the issue mentioned here:\nhttps://sourceware.org/ml/gdb-patches/2015-11/msg00424.html\n\nSigned-off-by: Tim Wiederhake <tim.wiederhake@intel.com>\n\ngdb/ChangeLog:\n\t* NEWS: Resume btrace on reconnect.\n\t* record-btrace.c: Added record-btrace.h include.\n\t(record_btrace_open): Split into this and ...\n\t(record_btrace_push_target): ... this.\n\t(record_btrace_disconnect): New function.\n\t(init_record_btrace_ops): Use record_btrace_disconnect.\n\t* record-btrace.h: New file.\n\t* remote.c: Added record-btrace.h include.\n\t(remote_start_remote): Check recording status.\n\t(remote_btrace_maybe_reopen): New function.\n\ngdb/doc/ChangeLog:\n\t* gdb.texinfo: Resume btrace on reconnect.\n\ngdb/testsuite/ChangeLog:\n\n\t* gdb.btrace/reconnect.c: New file.\n\t* gdb.btrace/reconnect.exp: New file.\n\nChange-Id: I95e8b0ab8a89e58591aba0e63818cee82fd211bc","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/c0272db5854a799a9f3bb3803c3d03d1a62b9ac2"},{"sha":"3a1518e4f3c467cfee2786b0af3388529f14d23b","author":{"name":"Tim Wiederhake","email":"3e855b2822e8773cc76757c497fa285ffbccf753@intel.com"},"message":"Add myself as a write-after-approval GDB maintainer.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/3a1518e4f3c467cfee2786b0af3388529f14d23b"},{"sha":"d617208bb06bd461b52ce041d89f7127e3044762","author":{"name":"Pedro Alves","email":"4ab1b1e93a96e2379fea7b286ce33d45682708c9@redhat.com"},"message":"linux-procfs: Introduce enum proc_state\n\nParse the process's /proc/PID/status state into an enum instead of the\ncurrent scheme of passing state strings around.\n\ngdb/ChangeLog:\n2016-07-25  Pedro Alves  <palves@redhat.com>\n\n\t* nat/linux-procfs.c (enum proc_state): New enum.\n\t(parse_proc_status_state): New function.\n\t(linux_proc_pid_get_state): Replace output string buffer parameter\n\twith an output proc_state parameter.  Use parse_proc_status_state.\n\t(linux_proc_pid_is_gone): Adjust to use proc_state values.\n\t(linux_proc_pid_has_state): Change type of 'state' parameter; now\n\tan enum proc_state.  Adjust to linux_proc_pid_get_state interface\n\tchange.\n\t(linux_proc_pid_is_stopped)\n\t(linux_proc_pid_is_trace_stopped_nowarn)\n\t(linux_proc_pid_is_zombie_maybe_warn): Adjust to\n\tlinux_proc_pid_get_state interface change.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/d617208bb06bd461b52ce041d89f7127e3044762"},{"sha":"0e1a6a5169023ee0c19de2c9160b469e43634b21","author":{"name":"Pedro Alves","email":"4ab1b1e93a96e2379fea7b286ce33d45682708c9@redhat.com"},"message":"linux-procfs: Handle lowercase \"t (tracing stop)\" state\n\nSince Linux 2.6.33, /proc/PID/status shows \"t (tracing stop)\", with\nlowercase 't'.  Because GDB is only expecting \"T (tracing stop)\", GDB\ncan incorrectly suppress errors in check_ptrace_stopped_lwp_gone:\n\n 1578          if (!check_ptrace_stopped_lwp_gone (lp))\n 1579            throw_exception (ex);\n\nRef: https://sourceware.org/ml/gdb-patches/2016-06/msg00072.html\n\n2016-07-25  Pedro Alves  <palves@redhat.com>\n\t    Jan Kratochvil  <jan.kratochvil@redhat.com>\n\n\t* nat/linux-procfs.c (parse_proc_status_state): Handle lowercase\n\t't'.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/0e1a6a5169023ee0c19de2c9160b469e43634b21"},{"sha":"8194e927cc66e8cceb9890240ad75363b3ca6d53","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@ericsson.com"},"message":"Handle correctly passing a bad interpreter name to new-ui\n\nWhen a bad interpreter name is passed to new-ui, such as:\n\n  (gdb)  new-ui bloop /dev/pts/10\n\nA partially created UI is left in the UI list, with interp set to NULL.\nTrying to do anything that will print on this UI (such as \"start\") will\ncause a segmentation fault.\n\nChanges in v2:\n\n  - Use with_test_prefix to namespace test procedures\n  - Give an explicit stable test name\n  - Add a \"bad terminal path\" test\n  - Remove useless runto_main\n  - Add missing intro comments\n\nI did not factor out the pty spawn, as there is some magic involved I\ndon't quite understand.  But it wouldn't bring that much anyway.\n\ngdb/ChangeLog:\n\n\t* top.h (make_delete_ui_cleanup): New declaration.\n\t* top.c (delete_ui_cleanup): New function.\n\t(make_delete_ui_cleanup): New function.\n\t(new_ui_command): Create restore_ui cleanup earlier, create a\n\tdelete_ui cleanup and discard it on success.\n\ngdb/testsuite/ChangeLog:\n\n\t* gdb.base/new-ui.exp (do_test_invalid_args): New\n\tprocedure.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/8194e927cc66e8cceb9890240ad75363b3ca6d53"},{"sha":"698f8cbbbb6a47c29967188d9fdf8486920af8b7","author":{"name":"GDB Administrator","email":"11ecb00f5f667eff143dbb3d0b19c76373a421f1@sourceware.org"},"message":"Automatic date update in version.in","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/698f8cbbbb6a47c29967188d9fdf8486920af8b7"},{"sha":"e0461dbb653dbb3c46ea7a15054fd2c98f879f31","author":{"name":"Markus Metzger","email":"0f3044eefd10011693db5e7d993fb866587c3802@intel.com"},"message":"btrace, testsuite: fix assembly source file selection\n\nSome btrace tests use assembly source files.  They use the target triplet to\ndistinguish between x86_64 and ia32 ISA.  This does not work for -m32 tests\nwithout setting the target triplet to i686-?-?.\n\nInstead use is_amd64_regs_target to distinguish between x86_64 and ia32 ISA.\n\nSee also https://sourceware.org/ml/gdb-patches/2016-07/msg00256.html.\n\ntestsuite/\n\t* gdb.btrace/record_goto.exp: Use is_amd64_regs_target for selecting\n\tassembly source files.\n\t* gdb.btrace/stepi.exp: Use is_amd64_regs_target for selecting\n\tassembly source files.\n\t* gdb.btrace/tailcall.exp: Use is_amd64_regs_target for selecting\n\tassembly source files.\n\t* gdb.btrace/tailcall-only.exp: Use is_amd64_regs_target for selecting\n\tassembly source files.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/e0461dbb653dbb3c46ea7a15054fd2c98f879f31"},{"sha":"8769bc4bab847cefc2bb5682a0a0dad579528ac8","author":{"name":"Han Shen","email":"3b2bbb4d3d39f62a73d7f0ad28bafaebd0e4d56d@google.com"},"message":"[Gold, aarch64] Implement some AArch64 relocs.\n\nThis CL implemented the following relocs for AArch64 target.\n  - R_AARCH64_MOVW_UABS_G*\n  - R_AARCH64_MOVW_SABS_G* relocations\n\ngold/ChangeLog\n\n2016-07-26 Igor Kudrin  <ikudrin@accesssoftek.com>\n\n    * aarch64-reloc-property.cc (Rvalue_bit_select_impl): New class.\n    (rvalue_bit_select): Use Rvalue_bit_select_impl.\n    * aarch64-reloc.def (MOVW_UABS_G0, MOVW_UABS_G0_NC,\n    MOVW_UABS_G1,\n    MOVW_UABS_G1_NC, MOVW_UABS_G2, MOVW_UABS_G2_NC, MOVW_UABS_G3,\n    MOVW_SABS_G0, MOVW_SABS_G1, MOVW_SABS_G2): New relocations.\n    * aarch64.cc (Target_aarch64::Scan::local): Add cases for new\n    MOVW_UABS_* and MOVW_SABS_* relocations.\n    (Target_aarch64::Scan::global): Likewise.\n    (Target_aarch64::Relocate::relocate): Add cases and handlings\n    for new MOVW_UABS_* and MOVW_SABS_* relocations.\n    * testsuite/Makefile.am (aarch64_relocs): New test.\n    * testsuite/Makefile.in: Regenerate.\n    * testsuite/aarch64_globals.s: New test source file.\n    * testsuite/aarch64_relocs.s: Likewise.\n    * testsuite/aarch64_relocs.sh: New test script.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/8769bc4bab847cefc2bb5682a0a0dad579528ac8"},{"sha":"d0d4152fa5c87532bf05007def680b5a536e1827","author":{"name":"Igor Kudrin","email":"59fc5e199f1574ab546dd5bfb7f4f29394d5d16a@accesssoftek.com"},"message":"Add support for creating uuid based build-id's in a MinGW32 environment.\n\nld\t* ldbuildid.c: Changes for MinGW32:\n\tInclude windows.h and rpcdce.h.\n\t(validate_build_id_style): Allow \"uuid\" style.\n\t(generate_build_id): Fill in id_bits using UuidCreate().","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/d0d4152fa5c87532bf05007def680b5a536e1827"},{"sha":"9cf12d57c58a82cfe3e6fee26d1ea55dfe49f9c4","author":{"name":"Pedro Alves","email":"4ab1b1e93a96e2379fea7b286ce33d45682708c9@redhat.com"},"message":"Fix PR gdb/20287 - x32 and \"gdb_static_assert (sizeof (nat_siginfo_t) == sizeof (siginfo_t))\"\n\nBuilding an x32 gdb trips on a static assertion:\n\n  In file included from .../src/gdb/common/common-defs.h:71:0,\n\t\t   from .../src/gdb/nat/amd64-linux-siginfo.c:21:\n  .../src/gdb/common/gdb_assert.h:26:66: error: size of array ‘never_defined_just_used_for_checking’ is negative\n     extern int never_defined_just_used_for_checking[(expr) ? 1 : -1]\n\t\t\t\t\t\t\t\t    ^\n  .../src/gdb/nat/amd64-linux-siginfo.c:113:1: note: in expansion of macro ‘gdb_static_assert’\n   gdb_static_assert (sizeof (nat_siginfo_t) == sizeof (siginfo_t));\n   ^\n\nThe problem is that the way nat_siginfo_t is defined, it can only\nmatch the host's siginfo_t object when gdb is built as a 64-bit\nprogram.\n\nSeveral bits of nat_siginfo_t are off:\n\n- nat_siginfo_t's _pad field's definition is:\n\n   int _pad[((128 / sizeof (int)) - 4)];\n\n  while /usr/include/bits/siginfo.h has:\n\n   # define __SI_MAX_SIZE     128\n   # if __WORDSIZE == 64\n   #  define __SI_PAD_SIZE     ((__SI_MAX_SIZE / sizeof (int)) - 4)\n   # else\n   #  define __SI_PAD_SIZE     ((__SI_MAX_SIZE / sizeof (int)) - 3)\n   # endif\n\n  and __WORDSIZE == 32 for x32.  This is what causes the size of\n  nat_siginfo_t to be wrong and the assertion to fail.\n\n- the nat_clock_t type is incorrect for 64-bit.  We have this:\n\n   /* For native 64-bit, clock_t in _sigchld is 64bit aligned at 4 bytes.  */\n   typedef long __attribute__ ((__aligned__ (4))) nat_clock_t;\n\n  however, /usr/include/bits/siginfo.h has:\n\n   # if defined __x86_64__ && __WORDSIZE == 32\n   /* si_utime and si_stime must be 4 byte aligned for x32 to match the\n      kernel.  We align siginfo_t to 8 bytes so that si_utime and si_stime\n      are actually aligned to 8 bytes since their offsets are multiple of\n      8 bytes.  */\n   typedef __clock_t __attribute__ ((__aligned__ (4))) __sigchld_clock_t;\n   #  define __SI_ALIGNMENT __attribute__ ((__aligned__ (8)))\n   # else\n   typedef __clock_t __sigchld_clock_t;\n   #  define __SI_ALIGNMENT\n   # endif\n\n  So we're currently forcing 4-byte alignment on clock_t, when it\n  should only be so for x32, not 64-bit.\n\nThe fix:\n\n - Leaves nat_siginfo_t strictly for the 64-bit ABI.\n\n - Adds a new typedef for the siginfo type that ptrace uses\n   (ptrace_siginfo_t).  An x32 gdb always gets/sets an x32 siginfo_t\n   type with PTRACE_GETSIGINFO/PTRACE_SETSIGINFO.\n\n - Uses this new ptrace_siginfo_t type instead of nat_siginfo_t as the\n   intermediate conversion type.\n\ngdb/ChangeLog:\n2016-07-26  Pedro Alves  <palves@redhat.com>\n\n\t* amd64-linux-nat.c (amd64_linux_siginfo_fixup): Rename 'native'\n\tparameter to 'ptrace'.\n\t* nat/amd64-linux-siginfo.c (GDB_SI_SIZE): New define.\n\t(nat_uptr_t): New an unsigned long.\n\t(nat_clock_t): Remove attribute __aligned__.\n\t(struct nat_timeval): Delete.\n\t(nat_siginfo_t): Remove attribute __aligned__.\n\t(ptrace_siginfo_t): Define.\n\t(compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)\n\t(compat_x32_siginfo_from_siginfo)\n\t(siginfo_from_compat_x32_siginfo): Make 'from' parameter const.\n\tConvert through a ptrace_siginfo_t instead of a nat_siginfo_t.\n\tRemove casts.\n\t(amd64_linux_siginfo_fixup_common): Rename 'native' parameter to\n\t'ptrace'.  Remove static assertions.\n\t(top level): New static assertions.\n\ngdb/gdbserver/ChangeLog:\n2016-07-26  Pedro Alves  <palves@redhat.com>\n\n\t* linux-x86-low.c (x86_siginfo_fixup): Rename 'native' parameter\n\tto 'ptrace'.","distinct":true,"url":"https://api.github.com/repos/foss-for-synopsys-dwc-arc-processors/binutils-gdb_refact/commits/9cf12d57c58a82cfe3e6fee26d1ea55dfe49f9c4"}]}
{"actor":{"display_login":"cupertinomiranda"}}