{"push_id":541694931,"size":30,"distinct_size":16,"ref":"refs/heads/master","head":"23d4663e222cbb2b9776150677683516bb7135b7","before":"533d0af0b8a8127b6f189222fc57aa11ce7aab2c","commits":[{"sha":"8503d6e1e564cb5ac61bc6e3f16c0b384c76661e","author":{"email":"c7e71725c97f9c37b4edbe71d193d6b3659aa171@adacore.com","name":"Joel Brobecker"},"message":"gdb/python: exception trying to create empty array\n\nThe following python command fails:\n\n    (gdb) python print gdb.lookup_type('char').array(1, 0)\n    Traceback (most recent call last):\n      File \"<string>\", line 1, in <module>\n    ValueError: Array length must not be negative\n    Error while executing Python code.\n\nThe above is trying to create an empty array, which is fairly command\nin Ada.\n\ngdb/ChangeLog:\n\n        * python/py-type.c (typy_array_1): Do not raise negative-length\n        exception if N2 is equal to N1 - 1.\n\ngdb/testsuite/ChangeLog:\n\n        * gdb.python/py-type.exp: Add a couple test about empty\n        array creation, and negative-length array creation.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/8503d6e1e564cb5ac61bc6e3f16c0b384c76661e"},{"sha":"fce10a8494efa8faec67b718f25e06d3d71694b3","author":{"email":"c7e71725c97f9c37b4edbe71d193d6b3659aa171@adacore.com","name":"Joel Brobecker"},"message":"gdb/guile: Do not error when trying to create empty array.\n\nThis fixes a similar error as in the Python support code where\ntrying to create an empty array.\n\nIn guile/scm-type.c::tyscm_array_1, the funtion raises an exception\nif N2 < N1:\n\n   if (n2 < n1)\n     {\n       gdbscm_out_of_range_error (func_name, SCM_ARG3,\n\nBut it should be doing so if N2 == N1 - 1, since that would simply\nbe an empty array, not an array with a negative length.\n\ngdb/ChangeLog:\n\n        * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range\n        error if N2 is equal to N1 - 1.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/fce10a8494efa8faec67b718f25e06d3d71694b3"},{"sha":"85880250e591a51624d24db653aaace0c5ce5943","author":{"email":"2a3695df0edcde19d41e033e172c391a56c7af17@redhat.com","name":"Nick Clifton"},"message":"Fixes for memory access violations in the coffdump program.\n\n\tPR binutils/17512\n\t* coffdump.c (dump_coff_section): Check for a symbol being\n\tavailable before printing its name.\n\t(main): Check the return value from coff_grok.\n\t* coffgrok.c: Reformat and tidy.\n\tAdd range checks to most functions.\n\t(coff_grok): Return NULL if the input bfd is not in a COFF\n\tformat.\n\t* coffgrok.h: Reformat and tidy.\n\t(struct coff_section): Change the nrelocs field to unsigned.\n\t* srconv.c (main): Check the return value from coff_grok.\n\n\t* coff-i860.c (CALC_ADDEND): Always set an addend value.\n\t* tekhex.c (getvalue): Add an end pointer parameter.  Use it to\n\tavoid reading off the end of the buffer.\n\t(getsym): Likewise.\n\t(first_phase): Likewise.\n\t(pass_over): Pass an end pointer to the invoked function.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/85880250e591a51624d24db653aaace0c5ce5943"},{"sha":"60ebc25751744f54ae5c00d1c9198ab64fcc5b33","author":{"email":"64b285df2af30b39a5c8967bdd7812e31d1a9397@gmail.com","name":"Alan Modra"},"message":"Fixes a buffer overflow when compiling assembler for the MinGW targets.\n\n\tPR binutils/17754\n\t* internal.h (internal_auxent): Increase size of x_fname field to\n\t20 to allow for PE format's longer file names.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/60ebc25751744f54ae5c00d1c9198ab64fcc5b33"},{"sha":"ec93045b400ec68b0c5716d75f27a87533b57058","author":{"email":"2a3695df0edcde19d41e033e172c391a56c7af17@redhat.com","name":"Nick Clifton"},"message":"Fix memory access violations for objdump triggered by fuzzed binaries.\n\n\tPR binutils/17512\n\t* reloc.c (bfd_get_reloc_size): Handle a reloc size of -1.\n\t(bfd_perform_relocation): Include the size of the reloc in the\n\ttest for an out of range relocation.\n\t(bfd_generic_get_relocated_section_contents): Remove reloc range\n\ttest.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/ec93045b400ec68b0c5716d75f27a87533b57058"},{"sha":"e749cab89d976c723ee01a3dfcfd7ec1a883f890","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Handle Initial-Exec to Local-Exec for x32\n\n\tPR gold/17809\n\t* x86_64.cc (Target_x86_64<size>::Relocate::tls_ie_to_le): Handle\n\tx32.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/e749cab89d976c723ee01a3dfcfd7ec1a883f890"},{"sha":"e7287c7f647870093b8ab5ffea0732ffdb8c4d66","author":{"email":"2a3695df0edcde19d41e033e172c391a56c7af17@redhat.com","name":"Nick Clifton"},"message":"Another fix for an objdump crash when parsing a corrupt binary.\n\n\tPR binutils/17512\n\t* mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the\n\tstring table.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/e7287c7f647870093b8ab5ffea0732ffdb8c4d66"},{"sha":"4fc1b9d43cbce7571264a0011c87258b78252750","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Handle stack split for x32\n\nX32 uses cmp %fs:NN,%esp, lea NN(%rsp),%r10d, lea NN(%rsp),%r11d,\ninstead of cmp %fs:NN,%rsp, lea NN(%rsp),%r10, lea NN(%rsp),%r11.\nThis patch handles it.\n\n\tPR gold/17729\n\t* configure.ac (DEFAULT_TARGET_X86_64): Don't set for x32.\n\t(DEFAULT_TARGET_X32): Set for x32.\n\t* x86_64.cc (cmp_insn_32): New.\n\t(lea_r10_insn_32): Likewise.\n\t(lea_r11_insn_32): Likewise.\n\t(cmp_insn_64): Likewise.\n\t(lea_r10_insn_64): Likewise.\n\t(lea_r11_insn_64): Likewise.\n\t(Target_x86_64<size>::do_calls_non_split): Handle x32.\n\t* testsuite/Makefile.am (check_SCRIPTS): Add split_x32.sh.\n\t(check_DATA): Add split_x32 files.\n\t(split_x32_[1234n].o): New targets.\n\t(split_x32_[124]): New targets.\n\t(split_x32_[1234r].stdout): New targets.\n\t* testsuite/split_x32.sh: New file.\n\t* testsuite/split_x32_1.s: Likewise.\n\t* testsuite/split_x32_2.s: Likewise.\n\t* testsuite/split_x32_3.s: Likewise.\n\t* testsuite/split_x32_4.s: Likewise.\n\t* testsuite/split_x32_n.s: Likewise.\n\t* configure: Regenerated.\n\t* testsuite/Makefile.in: Likewise.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/4fc1b9d43cbce7571264a0011c87258b78252750"},{"sha":"7b496d07dfbb696ea597d3f3ec3a3dfc0646cb86","author":{"email":"46ff6e41b02a6ff6bd50cc64faab96b75208d63d@sourceware.org","name":"GDB Administrator"},"message":"Automatic date update in version.in","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/7b496d07dfbb696ea597d3f3ec3a3dfc0646cb86"},{"sha":"6f25f22356dcf9ddf6b375c8e967486f10855dfd","author":{"email":"e6b730070cb8ff71eb70dcaf29e26324d883b33b@gmail.com","name":"H.J. Lu"},"message":"Skip unknown relocation\n\n\tPR binutils/17512\n\t* elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocation.\n\t* elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/6f25f22356dcf9ddf6b375c8e967486f10855dfd"},{"sha":"e810d75b1c9bef779b29df9d2c609fd5891d5917","author":{"email":"c7e71725c97f9c37b4edbe71d193d6b3659aa171@adacore.com","name":"Joel Brobecker"},"message":"[python,guile] Add comment beside conditions testing empty arrays.\n\ngdb/ChangeLog:\n\n        * guile/scm-type.c (tyscm_array_1): Add comment.\n        * python/py-type.c (typy_array_1): Add comment.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/e810d75b1c9bef779b29df9d2c609fd5891d5917"},{"sha":"5a70a2235a5fb9a8d90110089d97a27961093a39","author":{"email":"01de09643e0ae62e116f8bd77de435799874b456@novell.com","name":"Jan Beulich"},"message":"arm: fix extension feature disabling\n\nUsing e.g.\n\n\t.arch_extension simd\n\t.arch_extension nocrypto\n\nso far results in SIMD support getting disabled, which I can't see being\nthe purpose of the \"no\"-prefixed variants of architecture extension\nspecifications.\n\nOf course it is questionable whether the current, counter intuitive\nbehavior needs to be retained, and the new behavior perhaps be made work\nthrough e.g. a newly recognized \"no-\" prefix.\n\ngas/\n2015-01-07  Jan Beulich <jbeulich@suse.com>\n\n\t* gas/config/tc-arm.c (struct arm_option_extension_value_table):\n\tSplit field \"value\" into fields \"merge_value\" and \"clear_value\".\n\t(arm_extensions): Adjust initializer accordingly.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/5a70a2235a5fb9a8d90110089d97a27961093a39"},{"sha":"fdbf396f7e1cc87f408df7896c5464249f65c8e8","author":{"email":"c7e71725c97f9c37b4edbe71d193d6b3659aa171@adacore.com","name":"Joel Brobecker"},"message":"Regenerate sim/common/aclocal.m4 and sim/common/configure...\n\n... using automake 1.11.1, which is the version we're currently\nusing throughout, instead of 1.11.3. This should be a no-op in\npractice, but will help automake/aclocal version-related\ndifferences to cloud real changes being made.\n\nsim/common/ChangeLog:\n\n        * aclocal.m4, configure: Regenerate using automake 1.11.1.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/fdbf396f7e1cc87f408df7896c5464249f65c8e8"},{"sha":"8d983e3645b62e72373b3ba4a9af548b82fb43bc","author":{"email":"73f46fa54e57e834aa9e13887532977467ddb664@embecosm.com","name":"Andrew Burgess"},"message":"ld/testing: Extend comment on run_dump_test\n\nMention that readelf can be used as a test program in the comment of\nrun_dump_test.\n\nld/testsuite/ChangeLog:\n\n\t* lib/ld-lib.exp (run_dump_test): Extend comment to mention\n\treadelf.","distinct":false,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/8d983e3645b62e72373b3ba4a9af548b82fb43bc"},{"sha":"6a06d66006d33293215eaf706ee416f6a99da273","author":{"email":"cbb7353e6d953ef360baf960c122346276c6e320@parcs.ath.cx","name":"Patrick Palka"},"message":"Don't propagate our current terminal state to the inferior\n\nCurrently when we start an inferior we have the inferior inherit our\nterminal state.  Under TUI, our terminal is highly modified by ncurses\nand readline.  So when starting an inferior under TUI, the inferior will\nhave a highly modified terminal state which will interfere with standard\nI/O. For example,\n\n$ gdb gdb\n(gdb) break main\n(gdb) run\n(gdb) print puts (\"a\\nb\")\na\nb\n$1 = 4\n(gdb) [enter TUI mode]\n(gdb) run\n(gdb) [exit TUI mode]\n(gdb) print puts (\"a\\nb\")\na\n b\n  $2 = 4\n(gdb) print puts (\"a\\r\\nb\\r\")\na\nb\n$3 = 6\n\nAs you can see, when we start the inferior under the regular interface,\nputs() prints the text properly.  But when we start the inferior under\nTUI, puts() does not print the text properly.  This is because when we\nstart the inferior under TUI it inherits our current terminal state\nwhich has been modified by ncurses to, among other things, require an\nexplicit \\r\\n to print a new line. As a result the inferior performs\nstandard I/O in an unexpected way.\n\nBecause of this discrepancy, it doesn't seem like a good idea to have\nthe inferior inherit our _current_ terminal state for it may have been\nmodified by readline and/or ncurses.  Instead, we should have the\ninferior inherit a pristine snapshot of our terminal state taken before\nreadline or ncurses have had a chance to alter it.  This enables the\ninferior to run in a more accurate way, more closely mimicking the\nprogram's behavior had it run standalone.  And it fixes the above\nmentioned issue.\n\nTested on x86_64-unknown-linux-gnu.\n\ngdb/ChangeLog:\n\n\t* terminal.h (set_initial_gdb_ttystate): Declare.\n\t* inflow.c (initial_gdb_ttystate): New static variable.\n\t(set_initial_gdb_ttystate): New setter.\n\t(child_terminal_init_with_pgrp): Copy initial_gdb_ttystate\n\tinstead of our current terminal state.\n\t* top.c (gdb_init): Call set_initial_gdb_ttystate.","distinct":true,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/6a06d66006d33293215eaf706ee416f6a99da273"},{"sha":"50a18af83d28d66a769af40eef7d0548e2dc0883","author":{"email":"bb271a05043db396cc975a0c35ecf24f1f8ce1ab@redhat.com","name":"Jan Kratochvil"},"message":"[testsuite patch] Fix avx512.exp regression\n\n+gdb compile failed, ^[[01m^[[Kgdb/testsuite/gdb.arch/i386-avx512.c:20:27:^[[m^[[K ^[[01;31m^[[Kfatal error: ^[[m^[[Knat/x86-cpuid.h: No\nsuch file or directory\n+ #include \"nat/x86-cpuid.h\"\n+^[[01;32m^[[K                           ^^[[m^[[K\n+compilation terminated.\n+UNTESTED: gdb.arch/i386-avx512.exp: i386-avx512.exp\n\n125f8a3ddedd413a2290dae011f0bed9ffc78278 is the first bad commit\ncommit 125f8a3ddedd413a2290dae011f0bed9ffc78278\nAuthor: Gary Benson <gbenson@redhat.com>\nDate:   Thu Jun 19 14:46:38 2014 +0100\n    Move shared native target specific code to gdb/nat\n\ngdb/testsuite/ChangeLog\n2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>\n\n\tFix testcase compilation.\n\t* gdb.arch/i386-avx512.exp (comp_flags): Remove /common.","distinct":true,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/50a18af83d28d66a769af40eef7d0548e2dc0883"},{"sha":"ea42d6f8d1e24403e533e5dfea18e94c47ac534b","author":{"email":"c7e71725c97f9c37b4edbe71d193d6b3659aa171@adacore.com","name":"Joel Brobecker"},"message":"Empty line after comment documenting set_initial_gdb_ttystate.\n\ngdb/ChangeLog:\n\n        * inflow.c (set_initial_gdb_ttystate): Add empty line after\n        comment documenting function.","distinct":true,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/ea42d6f8d1e24403e533e5dfea18e94c47ac534b"},{"sha":"c88f5b8e495889f5d281a17bd56340d9a0e4cff6","author":{"email":"2a3695df0edcde19d41e033e172c391a56c7af17@redhat.com","name":"Nick Clifton"},"message":"Fix memory access violations exposed by running the srconv tool on fuzzed binaries.\n\n\tPR binutils/17512\n\t* objdump.c (display_any_bfd): Add a depth limit to nested archive\n\tdisplay in order to avoid infinite loops.\n\t* srconv.c: Replace calls to abort with calls to fatal with an\n\terror message.","distinct":true,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/c88f5b8e495889f5d281a17bd56340d9a0e4cff6"},{"sha":"d7b24d2941fd7c99ba5843331989e6023075f0d0","author":{"email":"2a3695df0edcde19d41e033e172c391a56c7af17@redhat.com","name":"Nick Clifton"},"message":"Fix memory access violations uncovered by running the dlltool on fuzzed binaries.\n\n\tPR binutils/17512\n\t* dlltool.c (scan_obj_file): Break loop if the last archive\n\tdisplayed matches the current archive.","distinct":true,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/d7b24d2941fd7c99ba5843331989e6023075f0d0"},{"sha":"7c89917ffa6813f40fbb9f345411d59716e90714","author":{"email":"cc863d9b550d81c9267b918c4d11ed367f93ee0d@arm.com","name":"Richard Earnshaw"},"message":"Sync with gcc/libiberty.","distinct":true,"url":"https://api.github.com/repos/T-J-Teru/binutils-gdb/commits/7c89917ffa6813f40fbb9f345411d59716e90714"}]}