From 1b251a08f8c10ff292d1ca9b1c580e88df483b94 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 26 Jun 2023 19:23:26 +0000 Subject: deploy: e730452fd8bd6824d35f25f2e87b8ec788b626fd --- tools/gdb.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/gdb.html') diff --git a/tools/gdb.html b/tools/gdb.html index 145fc62..d40e26d 100644 --- a/tools/gdb.html +++ b/tools/gdb.html @@ -341,6 +341,12 @@ instruction pointer ($rip x86) and format as instruction /i +

Set breakpoint on all threads except one

+

Create conditional breakpoint using the $_thread convenience +variable.

+
  # Create conditional breakpoint on all threads except thread 12.
+  b foo if $_thread != 12
+

Catch SIGSEGV and execute commands

This creates a catchpoint for the SIGSEGV signal and attached the command to it.

-- cgit v1.2.3