summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2021-09-16 15:52:57 +0200
committerKarl Palsson <karlp@etactica.com>2021-09-16 15:55:29 +0200
commit5d0dfa078231bf4a7b1cd333d2e834d5baad3bad (patch)
treef20c8840facc494810418f0d32df1fcb5175e72d
parent799c535a95094297a38d922a0e9903b2e8a1a4bd (diff)
gdb: mmio: document how to call functions
Because I can never remember it.
-rw-r--r--gdb_plugins/mmio.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb_plugins/mmio.py b/gdb_plugins/mmio.py
index ea367c7..5f2a249 100644
--- a/gdb_plugins/mmio.py
+++ b/gdb_plugins/mmio.py
@@ -83,6 +83,9 @@ def get_mmio_ptr_type(pt):
return None
class MMIOPtr(gdb.Function):
+ """
+ Usage is, for instance, p /x *$mmio_ptr(RCC)
+ """
def __init__(self):
gdb.Function.__init__(self, 'mmio_ptr')