[glib] assert-msg-test: Explicitly quit gdb session to avoid zombie



commit 93d0c632326064f3e72f0e88e3dc971bdfc74af0
Author: Daniel Macks <dmacks netspace org>
Date:   Tue Jun 10 06:00:33 2014 -0400

    assert-msg-test: Explicitly quit gdb session to avoid zombie
    
    gdb is run in batch mode, and can leave leave the program being
    executed/debugged running when the batchfile is finished. Explicitly
    "quit"ing the subprocess prevents it from leaving the stray subprocess
    when gdb finishes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731366

 tests/assert-msg-test.gdb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/assert-msg-test.gdb b/tests/assert-msg-test.gdb
index a22981a..63a2541 100644
--- a/tests/assert-msg-test.gdb
+++ b/tests/assert-msg-test.gdb
@@ -1,3 +1,4 @@
 run
 set print elements 0
 print (char*) __glib_assert_msg
+quit


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]