diff options
author | Karl Palsson <karlp@etactica.com> | 2021-09-16 15:52:57 +0200 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2021-09-16 15:55:29 +0200 |
commit | 5d0dfa078231bf4a7b1cd333d2e834d5baad3bad (patch) | |
tree | f20c8840facc494810418f0d32df1fcb5175e72d /gdb_plugins | |
parent | 799c535a95094297a38d922a0e9903b2e8a1a4bd (diff) |
gdb: mmio: document how to call functions
Because I can never remember it.
Diffstat (limited to 'gdb_plugins')
-rw-r--r-- | gdb_plugins/mmio.py | 3 |
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') |