Fix nullptr in with_command_1
[deliverable/binutils-gdb.git] / gdb / testsuite / boards / local-board.exp
index df9e5bf588d13b6fe535439e51c6f5fd1ed231fb..6e0448c58a94afc87e23c33359593a89fecd76fe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2011-2018 Free Software Foundation, Inc.
+# Copyright 2011-2019 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -22,3 +22,6 @@ global board_info
 # Remove any target variant specifications from the name.
 set baseboard [lindex [split $board "/"] 0]
 set board_info($baseboard,isremote) 0
+
+# Set sysroot to avoid sending files via the remote protocol.
+set GDBFLAGS "${GDBFLAGS} -ex \"set sysroot\""
This page took 0.024017 seconds and 4 git commands to generate.