{"push_id":1739841577,"size":1,"distinct_size":1,"ref":"refs/heads/gdb-8.0-branch","head":"81aeac9bbd02fc80048e51a1bb67484eb58852dc","before":"f35e662d82f4f55318cd874ae49fdd179f73068a","commits":[{"sha":"81aeac9bbd02fc80048e51a1bb67484eb58852dc","author":{"name":"Rainer Orth","email":"b01c7a6d21857495822b734aaec4bf38b1ff5df1@CeBiTec.Uni-Bielefeld.DE"},"message":"Fix gdb 8.0 procfs.c compilation on Solaris\n\nPrompted by the creation of the gdb 8.0 branch, I tried to build it on\nx86_64-pc-solaris2.12, but failed:\n\n/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c: In function `target_ops* procfs_target()':\n/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:186:27: error: invalid conversion from `void (*)(target_ops*, char*, char*, char**, int)' to `void (*)(target_ops*, const char*, const string&, char**, int) {aka void (*)(target_ops*, const char*, const std::__cxx11::basic_string<char>&, char**, int)}' [-fpermissive]\n   t->to_create_inferior = procfs_create_inferior;\n                           ^~~~~~~~~~~~~~~~~~~~~~\n/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c: At global scope:\n/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:125:13: warning: `void procfs_create_inferior(target_ops*, char*, char*, char**, int)' declared `static' but never defined [-Wunused-function]\n static void procfs_create_inferior (struct target_ops *, char *,\n             ^~~~~~~~~~~~~~~~~~~~~~\n/vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:4529:1: warning: `void procfs_create_inferior(target_ops*, const char*, const string&, char**, int)' defined but not used [-Wunused-function]\n procfs_create_inferior (struct target_ops *ops, const char *exec_file,\n ^~~~~~~~~~~~~~~~~~~~~~\n\nThis can easily be fixed by the following patch.\n\n\t* procfs.c (procfs_create_inferior): Change prototype to match\n\tdefinition.","distinct":true,"url":"https://api.github.com/repos/kraj/binutils-gdb/commits/81aeac9bbd02fc80048e51a1bb67484eb58852dc"}]}
{"actor":{"display_login":"kraj"}}