testsuite: Disable some tests when logging
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / gdbinit-history.exp
index f4f0686ccc12d26ce28e0bcf09f897a5f2917990..b45e7116d9eda9e5033e59f224f3b9cd3c6e5e70 100644 (file)
 # We cannot expect remote hosts to see environment variables set on the
 # local machine.
 
+# Do not run if gdb debug is enabled - it interferes with the command history.
+if [gdb_debug_enabled] {
+    untested "debug is enabled"
+    return 0
+}
+
 if { [is_remote host] } {
     unsupported "can't set environment variables on remote host"
     return -1
This page took 0.030964 seconds and 4 git commands to generate.