Commit b3fb56eb44ee98ff8671870482e5a256d43be99d

Thomas de Grivel 2024-12-11T12:33:19

wip kmsg

diff --git a/Makefile b/Makefile
index 7422eed..c5b7137 100644
--- a/Makefile
+++ b/Makefile
@@ -300,7 +300,13 @@ gdb_ikc3_asan:
 	${MAKE} -C ikc3 gdb_ikc3_asan
 
 gdb_kmsg:
-	${MAKE} kmsg_debug
+	${MAKE} gen
+	${MAKE} -C libtommath debug
+	${MAKE} -C ucd2c
+	${MAKE} -C libkc3 debug
+	${MAKE} -C ikc3 debug
+	${MAKE} -C kc3s debug
+	${MAKE} -C gtk4 debug
 	${MAKE} -C kmsg gdb
 
 gdb_test:
diff --git a/kmsg/.gdb_history b/kmsg/.gdb_history
new file mode 100644
index 0000000..60e4c35
--- /dev/null
+++ b/kmsg/.gdb_history
@@ -0,0 +1 @@
+run --load kmsg.kc3 --quit
diff --git a/kmsg/Makefile b/kmsg/Makefile
index 32479c0..d96a53e 100644
--- a/kmsg/Makefile
+++ b/kmsg/Makefile
@@ -1,3 +1,6 @@
 
 run:
 	ikc3 --load kmsg.kc3 --quit
+
+gdb:
+	gdb ../ikc3/.libs/ikc3_debug