From 0cf0869c24bfb00dfd7884f0e40565c2859df3f3 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 20 Mar 2022 21:16:42 +0000 Subject: deploy: 9b3a0b3c1d7afa35c5eb56a69600af841e0b78b5 --- tools/gdb.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tools/gdb.html') diff --git a/tools/gdb.html b/tools/gdb.html index ca64e43..c51da87 100644 --- a/tools/gdb.html +++ b/tools/gdb.html @@ -219,6 +219,17 @@ <bp_list>: Space separates list, eg 'command 2 5-8' to run command for breakpoints: 2,5,6,7,8. +

Watchpoints

+
  watch [-location|-l] <expr> [thread <tnum>]
+          Create a watchpoint for <expr>, will break if <expr> is written to.
+          Watchpoints respect scope of variables, -l can be used to watch the
+          memory location instead.
+  rwatch ...
+          Sets a read watchpoint, will break if <expr> is read from.
+  awatch ...
+          Sets an access watchpoint, will break if <expr> is written to or read
+          from.
+

Inspection

  info functions [<regex>]
           List functions matching <regex>. List all functions if no <regex>
-- 
cgit v1.2.3