Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 22 Oct 2014 14:40:02 UTC Commit: 017b6bb91cef1f344cbe8f94828e19468cb2e074 https://github.com/geany/geany-plugins/commit/017b6bb91cef1f344cbe8f94828e19...
Log Message: ----------- debugger: Fix crash with GDB 7.7
GDB 7.7 doesn't understand `&` as an argument to `-exec-run`.
Moreover, the code handling errors from GDB has an issue with this error and leads to a crash.
Closes https://sourceforge.net/p/geany-plugins/bugs/112/
Modified Paths: -------------- debugger/src/dbm_gdb.c
Modified: debugger/src/dbm_gdb.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -369,7 +369,7 @@ static gboolean on_read_async_output(GIOChannel * src, GIOCondition cond, gpoint update_files();
/* -exec-run */ - exec_async_command("-exec-run &"); + exec_async_command("-exec-run"); } } else @@ -895,7 +895,7 @@ static gboolean run(const gchar* file, const gchar* commandline, GList* env, GLi static void restart(void) { dbg_cbs->clear_messages(); - exec_async_command("-exec-run &"); + exec_async_command("-exec-run"); } /*
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).