{"push_id":845864625,"size":7,"distinct_size":7,"ref":"refs/heads/master","head":"cb0a2700865a77a111994ced22fd68815e5eed63","before":"e681cf3fe50d3c8d17dabde079bbd949a59ef53a","commits":[{"sha":"fa4c39cb5139e3fcd27bb486a6331297e343d248","author":{"email":"c495fe4dba026c81f120733ccce155c132d5c6ba@redhat.com","name":"Pedro Alves"},"message":"guile/: Add enum cast\n\ngdb/ChangeLog:\n2015-10-29  Pedro Alves  <palves@redhat.com>\n\n\t* guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Add cast.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/fa4c39cb5139e3fcd27bb486a6331297e343d248"},{"sha":"7535d5edeaa5cfa5ba369e8d3ffb47972483394a","author":{"email":"c495fe4dba026c81f120733ccce155c132d5c6ba@redhat.com","name":"Pedro Alves"},"message":"Add cast to VEC_iterate\n\nFixes this in C++:\n\n ../../src/gdb/break-catch-sig.c: In function ‘int VEC_gdb_signal_type_iterate(const VEC_gdb_signal_type*, unsigned int, gdb_signal_type*)’:\n ../../src/gdb/common/vec.h:576:12: error: invalid conversion from ‘int’ to ‘gdb_signal_type {aka gdb_signal}’ [-fpermissive]\n\t*ptr = 0;          \\\n\t     ^\n ../../src/gdb/common/vec.h:417:1: note: in expansion of macro ‘DEF_VEC_FUNC_P’\n  DEF_VEC_FUNC_P(T)         \\\n  ^\n ../../src/gdb/break-catch-sig.c:37:1: note: in expansion of macro ‘DEF_VEC_I’\n  DEF_VEC_I (gdb_signal_type);\n  ^\n\nI actually carried a different fix in the C++ branch that removed this\nassignment and then adjusted all callers that depended on it.  The\nthinking was that this is for the case where we're returning false,\nindicating end of iteration.  But that results in a much larger and\ntricker patch; looking back it seems quite pointless.  I looked at the\nhistory of GCC's C++ conversion and saw that they added this same cast\nto their version of vec.h, FWIW.  (GCC's vec.h is completely different\nnowadays, having been converted to templates meanwhile.)\n\ngdb/ChangeLog:\n2015-10-29  Pedro Alves  <palves@redhat.com>\n\n\t* common/vec.h (DEF_VEC_FUNC_P) [iterate]: Cast 0 to type T.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/7535d5edeaa5cfa5ba369e8d3ffb47972483394a"},{"sha":"b40699581c0d390e653f36a5bba99f13cf9763a0","author":{"email":"fa7054fed17d58b06d3b1bf9b1077e42165a09ec@polymtl.ca","name":"Simon Marchi"},"message":"dwarf2read.c: Add cast\n\nThere is no enum value representing 0.  It seems like the value of the\nname field is irrelevant here.\n\ngdb/ChangeLog:\n\n\t* dwarf2read.c (partial_die_full_name): Add cast.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/b40699581c0d390e653f36a5bba99f13cf9763a0"},{"sha":"f98cd059076c64cdb94b9743c544458b2b91716c","author":{"email":"fa7054fed17d58b06d3b1bf9b1077e42165a09ec@polymtl.ca","name":"Simon Marchi"},"message":"Change type of write_qxfer_response parameter\n\nFixes:\n\n/home/simark/src/binutils-gdb/gdb/gdbserver/server.c: In function ‘int write_qxfer_response(char*, const void*, int, int)’:\n/home/simark/src/binutils-gdb/gdb/gdbserver/server.c:398:32: error: invalid conversion from ‘const void*’ to ‘const gdb_byte* {aka const unsigned char*}’ [-fpermissive]\n           &out_len, PBUFSIZ - 2) + 1;\n                                ^\ngdb/gdbserver/ChangeLog:\n\n\t* server.c (write_qxfer_response): Change type of data to\n\tgdb_byte *.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/f98cd059076c64cdb94b9743c544458b2b91716c"},{"sha":"d6f85c8421acaf09fa5a25ae2621819889d54038","author":{"email":"fa7054fed17d58b06d3b1bf9b1077e42165a09ec@polymtl.ca","name":"Simon Marchi"},"message":"gdbserver/server.c: Cast return value of memmem\n\ngdb/gdbserver/ChangeLog:\n\n\t* server.c (handle_search_memory_1): Cast return value of\n\tmemmem.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/d6f85c8421acaf09fa5a25ae2621819889d54038"},{"sha":"15cf126c04a3720fb856f7f3bfb56869d5855939","author":{"email":"fa7054fed17d58b06d3b1bf9b1077e42165a09ec@polymtl.ca","name":"Simon Marchi"},"message":"Cast gdb_dlsym return value\n\ngdb/ChangeLog:\n\n\t* jit.c (jit_reader_load): Add cast.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/15cf126c04a3720fb856f7f3bfb56869d5855939"},{"sha":"cb0a2700865a77a111994ced22fd68815e5eed63","author":{"email":"fa7054fed17d58b06d3b1bf9b1077e42165a09ec@polymtl.ca","name":"Simon Marchi"},"message":"Add a cast in jit_target_read_impl\n\nWe could change the signature of the function.  However, it would\nrequire changing gdb_target_read in jit-reader.h, which is an exported\ninterface.  It's probably better to just add a cast in our code than to\nbreak other people's code.\n\ngdb/ChangeLog:\n\n\t* jit.c (jit_target_read_impl): Add cast.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/cb0a2700865a77a111994ced22fd68815e5eed63"}]}