Upload Tizen:Base source
[external/gdb.git] / sim / testsuite / config / default.exp
1 # Simulator default dejagnu configuration file.
2
3 load_lib sim-defs.exp
4
5 global AS
6 if ![info exists AS] {
7     set AS [findfile $base_dir/../../gas/as-new $base_dir/../../gas/as-new \
8                      [transform as]]
9 }
10
11 global ASFLAGS
12 if ![info exists ASFLAGS] {
13     set ASFLAGS ""
14 }
15
16 # Compilation is achieved with sim_compile ... so we don't check $CC here.
17
18 global CFLAGS
19 if ![info exists CFLAGS] {
20     set CFLAGS ""
21 }
22
23 global LD
24 if ![info exists LD] {
25     set LD [findfile $base_dir/../../ld/ld-new $base_dir/../../ld/ld-new \
26                      [transform ld]]
27 }
28
29 global LDFLAGS
30 if ![info exists LDFLAGS] {
31     set LDFLAGS ""
32 }
33
34 # The path to the simulator is obtained with [board_info host sim],
35 # so we don't check $SIM here.
36
37 global SIMFLAGS
38 if ![info exists SIMFLAGS] {
39     set SIMFLAGS ""
40 }
41
42 sim_init