[gnome-builder] build: `run` and `debug` targets should start immediately
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: `run` and `debug` targets should start immediately
- Date: Fri, 1 May 2015 20:05:07 +0000 (UTC)
commit cfc3ff4ce43d9c16b402afaae8b353d6d2ba4687
Author: Christian Hergert <christian hergert me>
Date: Fri May 1 13:04:58 2015 -0700
build: `run` and `debug` targets should start immediately
-ex run will start the program, but leave us in the gdb shell if we crash.
What I actually would like, is to be able to exit the shell if we exit
cleanly, but stay in the shell if we don't. Sadly, -batch will always
exit the shell, so that isn't quite what we want.
Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index f5cbc36..b9257c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -71,12 +71,12 @@ dist-hook:
run:
GI_TYPELIB_PATH=libide \
- $(LIBTOOL) --mode=execute gdb --args src/gnome-builder -vvvv
+ $(LIBTOOL) --mode=execute gdb -ex run --args src/gnome-builder -vvvv
debug:
GI_TYPELIB_PATH=libide \
G_DEBUG=fatal-criticals \
- $(LIBTOOL) --mode=execute gdb --args src/gnome-builder
+ $(LIBTOOL) --mode=execute gdb -ex run --args src/gnome-builder -vvvv
valgrind:
GI_TYPELIB_PATH=libide \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]