summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')