[pushed,3/3,gdb/testsuite] Disable styling in host board local-remote-host-native.exp

Message ID 20221027145410.22466-3-tdevries@suse.de
State Committed
Commit 1dc83674da675a20ae361a037305777d23764574
Headers
Series [pushed,1/3,gdb/testsuite] Use remote_exec chmod instead of remote_spawn |

Commit Message

Tom de Vries Oct. 27, 2022, 2:54 p.m. UTC
  Propagate fix from commit 17c68d98f74 ("[gdb/testsuite] Disable styling in host
board local-remote-host.exp") to local-remote-host-native.exp.

Tested on x86_64-linux.
---
 gdb/testsuite/boards/local-remote-host-native.exp | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/gdb/testsuite/boards/local-remote-host-native.exp b/gdb/testsuite/boards/local-remote-host-native.exp
index f784e2617a8..472a8ea8c27 100644
--- a/gdb/testsuite/boards/local-remote-host-native.exp
+++ b/gdb/testsuite/boards/local-remote-host-native.exp
@@ -83,3 +83,7 @@  proc ${board}_download { board src dest } {
 
     return $destfile
 }
+
+if { $board_type == "host" } {
+    set GDBFLAGS "${GDBFLAGS} -iex \"set style enabled off\""
+}