gdb_monitor: add platform checks in run scripts

Fixes #3558
This commit is contained in:
Christian Prochaska 2019-11-22 13:50:34 +01:00 committed by Christian Helmuth
parent 309bc2083e
commit 7309bcf4b5
3 changed files with 13 additions and 3 deletions

View File

@ -12,7 +12,10 @@
# 'tcp_terminal' could be used (to attach GDB via a network connection).
#
assert_spec x86
if {![have_include "power_on/qemu"] ||
!([have_spec nova])} {
puts "Run script is only supported for NOVA in Qemu"; exit 0
}
create_boot_directory
import_from_depot [depot_user]/src/[base_src] \

View File

@ -5,7 +5,10 @@
# \date 2011-05-24
#
assert_spec x86
if {![have_include "power_on/qemu"] ||
!([have_spec nova])} {
puts "Run script is only supported for NOVA in Qemu"; exit 0
}
#
# Build

View File

@ -4,7 +4,11 @@
# \date 2012-04-16
#
assert_spec x86
if {![have_include "power_on/qemu"] ||
!([have_spec nova])} {
puts "Run script is only supported for NOVA in Qemu"; exit 0
}
#
# Build
#