diff options
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r-- | gdb/python/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c index 29f2010..4aa2442 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -644,7 +644,7 @@ execute_gdb_command (PyObject *self, PyObject *args, PyObject *kw) bool first = true; char *save_ptr = nullptr; auto reader - = [&] () + = [&] (std::string &buffer) { const char *result = strtok_r (first ? &arg_copy[0] : nullptr, "\n", &save_ptr); |