{"push_id":1124876364,"size":5,"distinct_size":5,"ref":"refs/heads/master","head":"7eb895307f53af3435440d3fe67c0e4e679d99b2","before":"ffd19d610b3807bd5e2622440e225adb12a6766b","commits":[{"sha":"c810e0b87a2084656af944fe269d8c2680ba5469","author":{"email":"fcfc02377ad792c226278957e074570312cb0c82@synopsys.com","name":"Claudiu Zissulescu"},"message":"[ARC] Rename \"class\" named attributes.\n\ngas/\n2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>\n\n\t* config/tc-arc.c (attributes_t): Renamed attribute class to\n\tattr_class.\n\t(find_opcode_match, assemble_insn, tokenize_extinsn): Changed.\n\nopcode/\n2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>\n\n\t* arc-dis.c (find_format, find_format, get_auxreg)\n\t(print_insn_arc): Changed.\n\t* arc-ext.h (INSERT_XOP): Likewise.\n\ninclude/\n2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>\n\n\t* opcode/arc.h (struct arc_opcode): Renamed attribute class to\n\tinsn_class.\n\t(struct arc_flag_class): Renamed attribute class to flag_class.","distinct":true,"url":"https://api.github.com/repos/kraj/binutils-gdb/commits/c810e0b87a2084656af944fe269d8c2680ba5469"},{"sha":"87789e08e5cb2191af1122ed98af2d6c023b3a0a","author":{"email":"fcfc02377ad792c226278957e074570312cb0c82@synopsys.com","name":"Claudiu Zissulescu"},"message":"[ARC] Add XY registers, update neg instruction.\n\ngas/\n2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>\n\n\t* config/tc-arc.c (md_begin): Add XY registers.\n\t(cpu_types): Code density is default off for ARC EM.\n\nopcodes/\n2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>\n\n\t* arc-tbl.h (neg): New instruction variant.","distinct":true,"url":"https://api.github.com/repos/kraj/binutils-gdb/commits/87789e08e5cb2191af1122ed98af2d6c023b3a0a"},{"sha":"d9eca1df01c0e6f7f22566c154e63b1df9315790","author":{"email":"fcfc02377ad792c226278957e074570312cb0c82@synopsys.com","name":"Claudiu Zissulescu"},"message":"[ARC] Update instruction type and delay slot info.\n\nThis patch corrects the instructioninformation passed into the\ndisassebler_info structure.\n\ninclude/\n2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>\n\n\t* opcode/arc.h (insn_subclass_t): Add COND.\n\t(flag_class_t): Add F_CLASS_EXTEND.\n\nopcodes/\n2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>\n\n\t* arc-dis.c (print_flags): Set branch_delay_insns, and insn_type\n\tinformation.\n\t(print_insn_arc): Set insn_type information.\n\t* arc-opc.c (C_CC): Add F_CLASS_COND.\n\t* arc-tbl.h (bbit0, bbit1): Update subclass to COND.\n\t(beq_s, bge_s, bgt_s, bhi_s, bhs_s): Likewise.\n\t(ble_s, blo_s, bls_s, blt_s, bne_s): Likewise.\n\t(breq, breq_s, brge, brhs, brlo, brlt): Likewise.\n\t(brne, brne_s, jeq_s, jne_s): Likewise.","distinct":true,"url":"https://api.github.com/repos/kraj/binutils-gdb/commits/d9eca1df01c0e6f7f22566c154e63b1df9315790"},{"sha":"0f6ed0e0efe2c4dcd35b0e483dc3b5da7fe4edf0","author":{"email":"96835dd8bfa718bd6447ccc87af89ae1675daeca@tromey.com","name":"Tom Tromey"},"message":"Fix PR python/19438, PR python/18393 - initialize dictionaries\n\nThis fixes PR python/19438 and PR python/18393.  Both bugs are about\ninvoking dir() on some Python object implemented by gdb, and getting a\ncrash.\n\nThe crash happens because the dictionary field of these objects was\nnot initialized.  Apparently what happens is that this field can be\nlazily initialized by Python when assigning to an attribute; and it\ncan also be handled ok when using dir() but without __dict__ defined;\nbut gdb defines __dict__ because this isn't supplied automatically by\nPython.\n\nThe docs on this seem rather sparse, but this patch works ok.\n\nAn alternative might be to lazily create the dictionary in\ngdb_py_generic_dict, but I went with this approach because it seemed\nmore straightforward.\n\nBuilt and regtested on x86-64 Fedora 23.\n\n2016-05-23  Tom Tromey  <tom@tromey.com>\n\n\tPR python/19438, PR python/18393:\n\t* python/py-objfile.c (objfpy_initialize): Initialize self->dict.\n\t* python/py-progspace.c (pspy_initialize): Initialize self->dict.\n\n2016-05-23  Tom Tromey  <tom@tromey.com>\n\n\tPR python/19438, PR python/18393:\n\t* gdb.python/py-progspace.exp: Add \"dir\" test.\n\t* gdb.python/py-objfile.exp: Add \"dir\" test.","distinct":true,"url":"https://api.github.com/repos/kraj/binutils-gdb/commits/0f6ed0e0efe2c4dcd35b0e483dc3b5da7fe4edf0"},{"sha":"7eb895307f53af3435440d3fe67c0e4e679d99b2","author":{"email":"82697eede7783c80d18ae8c0d02575d32c9ac359@arm.com","name":"Yao Qi"},"message":"Skip unwritable frames in command \"finish\"\n\nNowadays, GDB can't insert breakpoint on the return address of the\nexception handler on ARM M-profile, because the address is a magic\none 0xfffffff9,\n\n (gdb) bt\n #0  CT32B1_IRQHandler () at ../src/timer.c:67\n #1  <signal handler called>\n #2  main () at ../src/timer.c:127\n\n(gdb) info frame\nStack level 0, frame at 0x200ffa8:\n pc = 0x4ec in CT32B1_IRQHandler (../src/timer.c:67); saved pc = 0xfffffff9\n called by frame at 0x200ffc8\n source language c.\n Arglist at 0x200ffa0, args:\n Locals at 0x200ffa0, Previous frame's sp is 0x200ffa8\n Saved registers:\n  r7 at 0x200ffa0, lr at 0x200ffa4\n\n(gdb) x/x 0xfffffff9\n0xfffffff9:     Cannot access memory at address 0xfffffff9\n\n(gdb) finish\nRun till exit from #0  CT32B1_IRQHandler () at ../src/timer.c:67\nEd:15: Target error from Set break/watch: Et:96: Pseudo-address (0xFFFFFFxx) for EXC_RETURN is invalid (GDB error?)\n\nWarning:\nCannot insert hardware breakpoint 0.\nCould not insert hardware breakpoints:\nYou may have requested too many hardware breakpoints/watchpoints.\n\nCommand aborted.\n\neven some debug probe can't set hardware breakpoint on the magic\naddress too,\n\n(gdb) hbreak *0xfffffff9\nHardware assisted breakpoint 2 at 0xfffffff9\n(gdb) c\nContinuing.\nEd:15: Target error from Set break/watch: Et:96: Pseudo-address (0xFFFFFFxx) for EXC_RETURN is invalid (GDB error?)\n\nWarning:\nCannot insert hardware breakpoint 2.\nCould not insert hardware breakpoints:\nYou may have requested too many hardware breakpoints/watchpoints.\n\nCommand aborted.\n\nThe problem described above is quite similar to PR 8841, in which GDB\ncan't set breakpoint on signal trampoline, which is mapped to a read-only\npage by kernel.  The rationale of this patch is to skip \"unwritable\"\nframes when looking for caller frames in command \"finish\", and a new\ngdbarch method code_of_frame_writable is added.  This patch fixes\nthe problem on ARM cortex-m target, but it can be used to fix\nPR 8841 too.\n\ngdb:\n\n2016-05-10  Yao Qi  <yao.qi@arm.com>\n\n\t* arch-utils.c (default_code_of_frame_writable): New function.\n\t* arch-utils.h (default_code_of_frame_writable): Declare.\n\t* arm-tdep.c (arm_code_of_frame_writable): New function.\n\t(arm_gdbarch_init): Install gdbarch method\n\tcode_of_frame_writable if the target is M-profile.\n\t* frame.c (skip_unwritable_frames): New function.\n\t* frame.h (skip_unwritable_frames): Declare.\n\t* gdbarch.sh (code_of_frame_writable): New.\n\t* gdbarch.c, gdbarch.h: Re-generated.\n\t* infcmd.c (finish_command): Call skip_unwritable_frames.","distinct":true,"url":"https://api.github.com/repos/kraj/binutils-gdb/commits/7eb895307f53af3435440d3fe67c0e4e679d99b2"}]}
{"actor":{"display_login":"kraj"}}