From fa7eb205d5f18b72c1e04a4229d171a15040bdea Mon Sep 17 00:00:00 2001
From: johannst Watchpoints
watch [-location|-l] <expr> [thread <tnum>]
@@ -253,7 +256,10 @@
Show current substitution rules.
Configuration
- set follow-fork-mode <child | parent>
+
set disassembly-flavor <intel | att>
+ Set the disassembly style "flavor".
+
+ set follow-fork-mode <child | parent>
Specify which process to follow when debuggee makes a fork(2)
syscall.
@@ -355,6 +361,18 @@ For example create
run.gdb
:
This script can be used as:
gdb --batch -x ./run.gdb -p <pid>
+quit
define break-save
+ save breakpoint $arg0.gdb.bp
+end
+define break-load
+ source $arg0.gdb.bp
+end
+
+define hook-quit
+ break-save quit
+end
+
command + finish
bugWhen using finish
inside a command
block, commands after finish
are not
--
cgit v1.2.3