summaryrefslogtreecommitdiff
path: root/decoders/arm_etmv3
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-12-30 18:33:32 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2020-01-01 01:59:46 +0100
commite144452bcdd5f2abbe6b6f3da41ad64f67e39def (patch)
treec6bfbc9325b8dca5f6a8dd196ae434bda5126e41 /decoders/arm_etmv3
parenta0cbf8298d761a3615fe3c9c444b7517b437920f (diff)
downloadlibsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.tar.gz
libsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.zip
All PDs: Consistently use singular/plural for annotation classes/rows.
Diffstat (limited to 'decoders/arm_etmv3')
-rw-r--r--decoders/arm_etmv3/pd.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/decoders/arm_etmv3/pd.py b/decoders/arm_etmv3/pd.py
index 6649b46..a0bbd94 100644
--- a/decoders/arm_etmv3/pd.py
+++ b/decoders/arm_etmv3/pd.py
@@ -138,26 +138,26 @@ class Decoder(srd.Decoder):
tags = ['Debug/trace']
annotations = (
('trace', 'Trace info'),
- ('branch', 'Branches'),
- ('exception', 'Exceptions'),
+ ('branch', 'Branch'),
+ ('exception', 'Exception'),
('execution', 'Instruction execution'),
('data', 'Data access'),
('pc', 'Program counter'),
- ('instr_e', 'Executed instructions'),
- ('instr_n', 'Not executed instructions'),
+ ('instr_e', 'Executed instruction'),
+ ('instr_n', 'Not executed instruction'),
('source', 'Source code'),
('location', 'Current location'),
('function', 'Current function'),
)
annotation_rows = (
- ('trace', 'Trace info', (0,)),
+ ('traces', 'Trace info', (0,)),
('flow', 'Code flow', (1, 2, 3,)),
- ('data', 'Data access', (4,)),
- ('pc', 'Program counter', (5,)),
- ('instruction', 'Instructions', (6, 7,)),
- ('source', 'Source code', (8,)),
- ('location', 'Current location', (9,)),
- ('function', 'Current function', (10,)),
+ ('data-vals', 'Data access', (4,)),
+ ('pc-vals', 'Program counters', (5,)),
+ ('instructions', 'Instructions', (6, 7,)),
+ ('sources', 'Source code', (8,)),
+ ('locations', 'Current locations', (9,)),
+ ('functions', 'Current functions', (10,)),
)
options = (
{'id': 'objdump', 'desc': 'objdump path',