From 5d0dfa078231bf4a7b1cd333d2e834d5baad3bad Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 16 Sep 2021 13:52:57 +0000 Subject: gdb: mmio: document how to call functions Because I can never remember it. --- gdb_plugins/mmio.py | 3 +++ 1 file changed, 3 insertions(+) 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') -- cgit v1.2.3