From e9de1c77dda6c191cf871d1ad2b43448e83077b7 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Thu, 20 Jul 2017 20:43:18 -0700 Subject: Add back code to clean up triggers in entry.S Then for targets that can't handle this because they don't implement hmode, add a target setting that allows that to be specified. --- debug/targets.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debug/targets.py') diff --git a/debug/targets.py b/debug/targets.py index ae81517..296b0a9 100644 --- a/debug/targets.py +++ b/debug/targets.py @@ -34,6 +34,12 @@ class Target(object): # before starting the test. gdb_setup = [] + # Implements dmode in tdata1 as described in the spec. Targets that need + # this value set to False are not compliant with the spec (but still usable + # as long as running code doesn't try to mess with triggers set by an + # external debugger). + honors_tdata1_hmode = True + # Internal variables: directory = None temporary_files = [] -- cgit v1.1