Add back code to clean up triggers in entry.S
[riscv-tests.git] / debug / targets.py
index 1f4b176144a84ba89da5ce34ebb989eebe30f775..296b0a95f72929c621b334da11954a8b45dab7ca 100644 (file)
@@ -30,6 +30,16 @@ class Target(object):
     # save a little time.
     misa = None
 
+    # List of commands that should be executed in gdb after connecting but
+    # 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 = []