Branch: refs/heads/master Author: Dimitar Zhekov dimitar.zhekov@gmail.com Committer: Dimitar Zhekov dimitar.zhekov@gmail.com Date: Sat, 03 Oct 2015 14:28:57 UTC Commit: 0dcb38595c521d055ebd42919fa990091ce8c15d https://github.com/geany/geany-plugins/commit/0dcb38595c521d055ebd42919fa990...
Log Message: ----------- scope: recognize -gdb-exit as expected gdb exit
Modified Paths: -------------- scope/src/debug.c scope/src/debug.h scope/src/parse.c
Modified: scope/src/debug.c 5 lines changed, 5 insertions(+), 0 deletions(-) =================================================================== @@ -123,6 +123,11 @@ void on_debug_load_error(GArray *nodes) on_error(nodes); }
+void on_debug_exit(G_GNUC_UNUSED GArray *nodes) +{ + gdb_state = KILLING; +} + void on_debug_auto_run(G_GNUC_UNUSED GArray *nodes) { if (debug_auto_run && !thread_count)
Modified: scope/src/debug.h 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -52,6 +52,7 @@ void on_debug_list_source(GArray *nodes); void on_debug_error(GArray *nodes); void on_debug_loaded(GArray *nodes); void on_debug_load_error(GArray *nodes); +void on_debug_exit(GArray *nodes); void on_debug_auto_run(GArray *nodes); void on_debug_auto_exit(void);
Modified: scope/src/parse.c 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -130,6 +130,7 @@ static const ParseRoute parse_routes[] = { "^error", on_quiet_error, '4', '\0', 0 }, { "^error,", on_watch_error, '6', '\t', 0 }, { "^error,", on_debug_error, '\0', '\n', 0 }, + { "^exit", on_debug_exit, '\0', '\0', 0 }, { NULL, NULL, '\0', '\0', 0 } };
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org