diff options
author | Ben Elliston <bje@gnu.org> | 2003-08-07 03:42:42 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2003-08-07 03:42:42 +0000 |
commit | d7b7156075df25716082174f6baf2ac0e163e939 (patch) | |
tree | e2c4f9afdb89cf1e6f082acf7c1a0aae0fd423a8 /baseboards | |
parent | 8f0d1b58dbfb8b4e7ad5c14f21d65da05a364200 (diff) | |
download | dejagnu-d7b7156075df25716082174f6baf2ac0e163e939.zip dejagnu-d7b7156075df25716082174f6baf2ac0e163e939.tar.gz dejagnu-d7b7156075df25716082174f6baf2ac0e163e939.tar.bz2 |
Strip trailing semicolons from Tcl source files.
Diffstat (limited to 'baseboards')
77 files changed, 464 insertions, 464 deletions
diff --git a/baseboards/a29k-udi.exp b/baseboards/a29k-udi.exp index 3b4c506..c3b365a 100644 --- a/baseboards/a29k-udi.exp +++ b/baseboards/a29k-udi.exp @@ -1,22 +1,22 @@ # This is a list of toolchains that are supported on this board. -set_board_info target_install {a29k-amd-udi}; +set_board_info target_install {a29k-amd-udi} # Load the generic configuration for this board. -load_generic_config "udi"; +load_generic_config "udi" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # The basic set of flags needed to build "hello world" for this # board. This target uses libgloss and newlib. -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # We don't need a linker script. -set_board_info ldscript ""; +set_board_info ldscript "" # mondfe can't return exit statuses, so gcc (ctorture et al) needs to # do what it can to get them. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # Used by a few gcc.c-torture testcases to delimit how large the stack can # be. diff --git a/baseboards/am33_2.0-libremote.exp b/baseboards/am33_2.0-libremote.exp index 7ba2e7c..722ac2d 100644 --- a/baseboards/am33_2.0-libremote.exp +++ b/baseboards/am33_2.0-libremote.exp @@ -1,23 +1,23 @@ # This file is useful for gdb testing with libremote on an embedded linux # board. In this case a Matsushita ASB2305 AM33 v2.0 board. -load_generic_config "libremote_server"; +load_generic_config "libremote_server" -process_multilib_options ""; +process_multilib_options "" # The default compiler for this target. -#set_board_info compiler "[find_gcc]"; -set_board_info compiler "am33_2.0-linux-gnu-gcc"; +#set_board_info compiler "[find_gcc]" +set_board_info compiler "am33_2.0-linux-gnu-gcc" # We will be using the standard GDB remote protocol set_board_info gdb_protocol "remote" # Use techniques appropriate to a stub -set_board_info use_gdb_stub 1; -set_board_info gdb,gdb_stub 1; +set_board_info use_gdb_stub 1 +set_board_info gdb,gdb_stub 1 # This gdbserver can only run a process once per session. -set_board_info gdb,do_reload_on_run 1; +set_board_info gdb,do_reload_on_run 1 # There's no support for argument-passing (yet). set_board_info noargs 1 @@ -26,7 +26,7 @@ set_board_info noargs 1 set_board_info gdb,noinferiorio 1 # Can't do hardware watchpoints, in general -set_board_info gdb,no_hardware_watchpoints 1; +set_board_info gdb,no_hardware_watchpoints 1 # New set_board_info gdb,nosignals 1 diff --git a/baseboards/arc-sim.exp b/baseboards/arc-sim.exp index 8ca7c2e..62260b3 100644 --- a/baseboards/arc-sim.exp +++ b/baseboards/arc-sim.exp @@ -24,7 +24,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. diff --git a/baseboards/arm-ice.exp b/baseboards/arm-ice.exp index 8e03737..3480460 100644 --- a/baseboards/arm-ice.exp +++ b/baseboards/arm-ice.exp @@ -20,7 +20,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] $additional_options" # This board doesn't use a linker script. -set_board_info ldscript ""; +set_board_info ldscript "" # Used by a few gcc.c-torture testcases to delimit how large the stack can # be. @@ -33,7 +33,7 @@ set_board_info gdb_protocol "rdi" set_board_info gdb,nosignals 1 # Make this variable go away, we don't need it. -unset additional_options; +unset additional_options # Can't call functions from GDB. set_board_info gdb,cannot_call_functions 1 diff --git a/baseboards/arm-sim.exp b/baseboards/arm-sim.exp index 32b5eeb..af91f7f 100644 --- a/baseboards/arm-sim.exp +++ b/baseboards/arm-sim.exp @@ -21,7 +21,7 @@ if { [board_info $board obj_format] == "pe" } { load_base_board_description "basic-sim" # The name of the directory in the build tree where the simulator lives. -setup_sim arm; +setup_sim arm # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. @@ -31,7 +31,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] $additional_options" # This board doesn't use a linker script. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this. set_board_info needs_status_wrapper 1 @@ -46,4 +46,4 @@ set_board_info gdb,nosignals 1 set_board_info gcc,timeout 800 # Make this variable go away, we don't need it. -unset additional_options; +unset additional_options diff --git a/baseboards/basic-sim.exp b/baseboards/basic-sim.exp index 3fa7c4d..7195adf 100644 --- a/baseboards/basic-sim.exp +++ b/baseboards/basic-sim.exp @@ -4,7 +4,7 @@ # Otherwise we search the build tree, then $PATH. proc find_sim { target_alias sim_dir sim_name } { - global tool_root_dir; + global tool_root_dir global SIM if [info exists SIM] { @@ -13,39 +13,39 @@ proc find_sim { target_alias sim_dir sim_name } { if [is_remote host] { if ![board_info host exists no_transform_name] { - return ${target_alias}-${sim_name}; + return ${target_alias}-${sim_name} } else { - return ${sim_name}; + return ${sim_name} } } # We have to search because tool_root_dir may actually point to that blasted # "target" subdirectory. - set try [lookfor_file ${tool_root_dir} sim/${sim_dir}/${sim_name}]; + set try [lookfor_file ${tool_root_dir} sim/${sim_dir}/${sim_name}] if { $try != "" } { - return $try; + return $try } - return ${target_alias}-${sim_name}; + return ${target_alias}-${sim_name} } proc setup_sim { subdir_name } { - global target_alias; - global tool_root_dir; - global board; + global target_alias + global tool_root_dir + global board if [info exists target_alias] { - set tmp $target_alias; + set tmp $target_alias } else { if [board_info $board exists target_install] { - set tmp [lindex [board_info $board target_install] 0]; + set tmp [lindex [board_info $board target_install] 0] } } if ![board_info $board exists sim] { - set_board_info sim [find_sim $tmp $subdir_name run]; + set_board_info sim [find_sim $tmp $subdir_name run] } verbose "Using simulator [board_info $board sim]\n" } -set_board_info is_simulator 1; +set_board_info is_simulator 1 diff --git a/baseboards/cf.exp b/baseboards/cf.exp index f4d73c3..fbfa426 100644 --- a/baseboards/cf.exp +++ b/baseboards/cf.exp @@ -1,9 +1,9 @@ # This is a list of toolchains that are supported on this board. -set_board_info target_install {m68k-elf}; +set_board_info target_install {m68k-elf} # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "cfdbug"; +load_generic_config "cfdbug" # Need -m5200 by default. process_multilib_options "-m5200" @@ -12,19 +12,19 @@ process_multilib_options "-m5200" # with what compiler is tested when testing gcc. set_board_info compiler "[find_gcc]" -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" # Nasty hack. if { [board_info $board obj_format] == "a.out" } { # Need to pass the start address to objcopy. - set_board_info use_vma_offset 1; + set_board_info use_vma_offset 1 # Wrapping has to be specially done for m68k-aout, for whatever reason. - set_board_info wrap_m68k_aout 1; + set_board_info wrap_m68k_aout 1 set extra_m68k_ld_flags "-N" # We need to tell GDB to load at the correct offset. - set_board_info gdb_load_offset [board_info $board hex_startaddr]; + set_board_info gdb_load_offset [board_info $board hex_startaddr] } else { set extra_m68k_ld_flags "" } @@ -35,7 +35,7 @@ unset extra_m68k_ld_flags # If no output format is specified, use objcopy. if ![board_info $board exists output_format] { - set tempfil [lookfor_file $tool_root_dir binutils/objcopy]; + set tempfil [lookfor_file $tool_root_dir binutils/objcopy] if { $tempfil != "" } { set_board_info objcopy $tempfil } else { @@ -45,17 +45,17 @@ if ![board_info $board exists output_format] { } # SBC5204 linker script. -set_board_info ldscript "-Wl,-Tsbc5204.ld"; +set_board_info ldscript "-Wl,-Tsbc5204.ld" # The idt interface can't return exit statuses, so gcc (ctorture et # al) needs to do what it can to get them. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # Used by a few gcc.c-torture testcases to delimit how large the stack can be. # The board has 192K of RAM. We will set stack size to one third of that. set_board_info gcc,stack_size 65536 # GDB needs to use "target dbug" to talk to the board. -set_board_info gdb_protocol "dbug"; +set_board_info gdb_protocol "dbug" # Can't pass arguments to the program under test. set_board_info noargs 1 @@ -70,4 +70,4 @@ set_board_info gdb,nosignals 1 set_board_info gdb,noresults 1 # Pseudo-random guess. -set_board_info sys_speed_value 200; +set_board_info sys_speed_value 200 diff --git a/baseboards/cygmon.exp b/baseboards/cygmon.exp index 6ee4458..c848bf1 100644 --- a/baseboards/cygmon.exp +++ b/baseboards/cygmon.exp @@ -4,28 +4,28 @@ set_board_info target_install {sparc-elf sparc64-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "cygmon"; +load_generic_config "cygmon" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "-nostdlib [libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "-nostdlib [libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. set_board_info ldscript "-Tcygmon.ld" # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info noargs 1; +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 diff --git a/baseboards/cygwin.exp b/baseboards/cygwin.exp index 80d4407..7a1726b 100644 --- a/baseboards/cygwin.exp +++ b/baseboards/cygwin.exp @@ -1,12 +1,12 @@ # The canonical unix board description. -load_generic_config "unix"; +load_generic_config "unix" -process_multilib_options ""; +process_multilib_options "" -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" -set_board_info bmk,use_alarm 1; +set_board_info bmk,use_alarm 1 -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 -send_user "configuring for cygwin testing\n"; +send_user "configuring for cygwin testing\n" diff --git a/baseboards/d10v-sim.exp b/baseboards/d10v-sim.exp index f744cdc..20af4f7 100644 --- a/baseboards/d10v-sim.exp +++ b/baseboards/d10v-sim.exp @@ -3,7 +3,7 @@ set_board_info target_install {d10v-elf} # Load the generic configuration for this board. This will define any # routines needed to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. load_base_board_description "basic-sim" @@ -12,7 +12,7 @@ load_base_board_description "basic-sim" setup_sim d10v # No multilib options needed by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. @@ -23,7 +23,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # Can't pass arguments to programs on this target.. set_board_info noargs 1 diff --git a/baseboards/d10v.exp b/baseboards/d10v.exp index 254556e..f6df58b 100644 --- a/baseboards/d10v.exp +++ b/baseboards/d10v.exp @@ -6,15 +6,15 @@ set_board_info target_install {d10v-elf} load_generic_config "d10v" # No multilib options are needed by default for this board. -process_multilib_options ""; +process_multilib_options "" # We only support newlib on this target. We assume that all multilib # options have been specified before we get here. -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # The board can't really return exit statuses and we need to indicate this; # however, the standard GCC wrapper won't work with this target because @@ -32,8 +32,8 @@ set_board_info disable_x_packet 1 set_board_info disable_z_packet 1 # Used by gdb-comm. -set_board_info gdb_run_command "jump *_start"; -set_board_info gdb,start_symbol "_start"; +set_board_info gdb_run_command "jump *_start" +set_board_info gdb,start_symbol "_start" # Can't pass arguments to programs on this target. set_board_info noargs 1 diff --git a/baseboards/d30v-sim.exp b/baseboards/d30v-sim.exp index c795165..f0dde67 100644 --- a/baseboards/d30v-sim.exp +++ b/baseboards/d30v-sim.exp @@ -3,7 +3,7 @@ set_board_info target_install {d30v-elf} # Load the generic configuration for this board. This will define any # routines needed to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. load_base_board_description "basic-sim" @@ -21,7 +21,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags] -Wa,-C" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] -mextmem -Wl,--defsym,__stack=0x80800000" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # Can't pass arguments to programs on this target.. set_board_info noargs 1 diff --git a/baseboards/danlite-elf.exp b/baseboards/danlite-elf.exp index e22db2f..8a70f9e 100644 --- a/baseboards/danlite-elf.exp +++ b/baseboards/danlite-elf.exp @@ -4,39 +4,39 @@ set_board_info target_install {sparc86x-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "slite"; +load_generic_config "slite" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" -set_board_info ldflags "-nostartfiles [libgloss_link_flags] [newlib_link_flags]"; +set_board_info ldflags "-nostartfiles [libgloss_link_flags] [newlib_link_flags]" # DANlite (sparc86x) linker script. -set_board_info ldscript "-Tsparc86x.ld"; +set_board_info ldscript "-Tsparc86x.ld" # The address at which the stub needs to be linked. -# set_board_info gdb_stub_offset "0x40000000"; +# set_board_info gdb_stub_offset "0x40000000" # The board doesn't return exit statuses and we need to indicate this. # However, the standard GCC wrapper won't work with this target because # it doesn't return stuff from printf (). -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # We use a GDB stub to talk to the board. -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 # For GDB, we need to use a real stub (not the separate loader scheme # we use for Sparclet). -set_board_info gdb_stub ""; +set_board_info gdb_stub "" # And the protocol is "sparclite". -set_board_info gdb_protocol "sparclite"; +set_board_info gdb_protocol "sparclite" # No mathlib. -set_board_info mathlib ""; +set_board_info mathlib "" # We can't do I/O in GDB. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info noargs 1; +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 diff --git a/baseboards/dos.exp b/baseboards/dos.exp index 8702a03..29097fb 100644 --- a/baseboards/dos.exp +++ b/baseboards/dos.exp @@ -5,21 +5,21 @@ set_board_info target_install {i386-cygwin32} # Load the generic configuration for the board. This will define any routines # needed by the tool to communicate with the board. -load_generic_config "dos"; +load_generic_config "dos" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # The basic set of flags needed to build "hello world" for this # board. This target uses libgloss, libio and winsup. -set_board_info cflags "[newlib_include_flags] [libio_include_flags] [winsup_include_flags]"; +set_board_info cflags "[newlib_include_flags] [libio_include_flags] [winsup_include_flags]" set_board_info ldflags "[newlib_link_flags] [libio_link_flags] [winsup_link_flags]" # We don't need a link script. -set_board_info ldscript ""; +set_board_info ldscript "" # mondfe can't return exit statuses, so gcc (ctorture et al) needs to # do what it can to get them. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 set_board_info gdb_opts "--command gdbinit" set_board_info gdb,nointerrupts 1 diff --git a/baseboards/fr30-cygmon.exp b/baseboards/fr30-cygmon.exp index b18fa59..7664681 100644 --- a/baseboards/fr30-cygmon.exp +++ b/baseboards/fr30-cygmon.exp @@ -4,28 +4,28 @@ set_board_info target_install {fr30-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "cygmon"; +load_generic_config "cygmon" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. set_board_info ldscript "-specs=eval1.specs" # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info gdb,noargs 1; -set_board_info noargs 1; +set_board_info gdb,noargs 1 +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 diff --git a/baseboards/fr30-sim.exp b/baseboards/fr30-sim.exp index aed4809..f11b1bc 100644 --- a/baseboards/fr30-sim.exp +++ b/baseboards/fr30-sim.exp @@ -21,7 +21,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. diff --git a/baseboards/frv-sim.exp b/baseboards/frv-sim.exp index 7e0dc47..5d800d3 100644 --- a/baseboards/frv-sim.exp +++ b/baseboards/frv-sim.exp @@ -21,7 +21,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # Doesn't pass arguments or signals, can't return results, and doesn't # do inferiorio. diff --git a/baseboards/frv-tiger.exp b/baseboards/frv-tiger.exp index db757b4..e3e87eb 100644 --- a/baseboards/frv-tiger.exp +++ b/baseboards/frv-tiger.exp @@ -4,29 +4,29 @@ set_board_info target_install {frv-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "cygmon"; +load_generic_config "cygmon" # -mcpu=tomcat is needed for the board. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. set_board_info ldscript "-specs=tiger.specs" # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info gdb,noargs 1; -set_board_info noargs 1; +set_board_info gdb,noargs 1 +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; -set_board_info gdb,do_reload_on_run 1; +set_board_info use_gdb_stub 1 +set_board_info gdb,do_reload_on_run 1 diff --git a/baseboards/frv-tomcat.exp b/baseboards/frv-tomcat.exp index a0c9612..b76d179 100644 --- a/baseboards/frv-tomcat.exp +++ b/baseboards/frv-tomcat.exp @@ -4,29 +4,29 @@ set_board_info target_install {frv-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "cygmon"; +load_generic_config "cygmon" # -mcpu=tomcat is needed for the board. process_multilib_options "-mcpu=tomcat" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. set_board_info ldscript "-specs=tomcat.specs" # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info gdb,noargs 1; -set_board_info noargs 1; +set_board_info gdb,noargs 1 +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; -set_board_info gdb,do_reload_on_run 1; +set_board_info use_gdb_stub 1 +set_board_info gdb,do_reload_on_run 1 diff --git a/baseboards/gdbserver-sample.exp b/baseboards/gdbserver-sample.exp index 48be917..6158f31 100644 --- a/baseboards/gdbserver-sample.exp +++ b/baseboards/gdbserver-sample.exp @@ -1,14 +1,14 @@ # gdbserver running over ssh. -load_generic_config "gdbserver"; +load_generic_config "gdbserver" -process_multilib_options ""; +process_multilib_options "" # The default compiler for this target. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" -#set_board_info compiler "/opt/src/gcc/install-30/bin/gcc"; -#set_board_info c++compiler "/opt/src/gcc/install-30/bin/g++"; +#set_board_info compiler "/opt/src/gcc/install-30/bin/gcc" +#set_board_info c++compiler "/opt/src/gcc/install-30/bin/g++" set_board_info rsh_prog /usr/bin/ssh set_board_info rcp_prog /usr/bin/scp @@ -30,10 +30,10 @@ set_board_info sockethost "voltaire:" # set_board_info gdb,socketport "4004" # Use techniques appropriate to a stub -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 # This gdbserver can only run a process once per session. -set_board_info gdb,do_reload_on_run 1; +set_board_info gdb,do_reload_on_run 1 # There's no support for argument-passing (yet). set_board_info noargs 1 @@ -42,5 +42,5 @@ set_board_info noargs 1 set_board_info gdb,noinferiorio 1 # Can't do hardware watchpoints, in general -set_board_info gdb,no_hardware_watchpoints 1; +set_board_info gdb,no_hardware_watchpoints 1 diff --git a/baseboards/h8300.exp b/baseboards/h8300.exp index f42dbb0..7651df7 100644 --- a/baseboards/h8300.exp +++ b/baseboards/h8300.exp @@ -17,7 +17,7 @@ set_board_info ldflags "[newlib_link_flags]" # The GDB protocol used with this board. set_board_info gdb_protocol "remote" # It's running a GDB stub in ROM. -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 # There's no support for argument-passing. set_board_info noargs 1 @@ -45,8 +45,8 @@ set_board_info gdb,short_int 1 set linker_script "h8300.ld" foreach x $board_variant_list { - regsub -all "^\[ \t\]*" "$x" "" x; - regsub -all "\[ \t\]*$" "$x" "" x; + regsub -all "^\[ \t\]*" "$x" "" x + regsub -all "\[ \t\]*$" "$x" "" x case $x in { { h -mh } { diff --git a/baseboards/i386-bozo.exp b/baseboards/i386-bozo.exp index 1dbfae0..c954d82 100644 --- a/baseboards/i386-bozo.exp +++ b/baseboards/i386-bozo.exp @@ -7,12 +7,12 @@ load_generic_config "i386-bozo" process_multilib_options "" # Default to COFF. -set add_flags ""; +set add_flags "" if { [board_info $board obj_format] == "a.out" } { set_board_info support_libs "${prefix_dir}/i386-aout/" - set_board_info gdb_load_offset "0x41000000"; - set_board_info gdb_sect_offset "0x41000000"; - set add_flags "-N "; + set_board_info gdb_load_offset "0x41000000" + set_board_info gdb_sect_offset "0x41000000" + set add_flags "-N " } elseif { [board_info $board obj_format] == "elf" } { set_board_info support_libs "${prefix_dir}/i386-elf/" } else { @@ -32,7 +32,7 @@ set_board_info ldscript "-Tbozo.ld" # The GDB protocol used with this board. set_board_info gdb_protocol "remote" # It's running a GDB stub in ROM. -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 # There's no support for argument-passing. set_board_info noargs 1 @@ -48,4 +48,4 @@ set_board_info gcc,stack_size 16384 set_board_info needs_status_wrapper 1 # This is the start symbol in crt0.o. -set_board_info gdb,start_symbol "_start"; +set_board_info gdb,start_symbol "_start" diff --git a/baseboards/i960-cyclone.exp b/baseboards/i960-cyclone.exp index 6ce5ce7..2dd4f59 100644 --- a/baseboards/i960-cyclone.exp +++ b/baseboards/i960-cyclone.exp @@ -10,7 +10,7 @@ process_multilib_options "" # We want to strip executables before downloading them via xmodem. if ![board_info $board exists strip] { - set tempfil [lookfor_file $tool_root_dir binutils/strip]; + set tempfil [lookfor_file $tool_root_dir binutils/strip] if { $tempfil != "" } { set_board_info strip $tempfil } else { diff --git a/baseboards/i960-sim.exp b/baseboards/i960-sim.exp index 98ca8de..9767e8a 100644 --- a/baseboards/i960-sim.exp +++ b/baseboards/i960-sim.exp @@ -1,28 +1,28 @@ # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim i960; +setup_sim i960 # No multilib flags are set by default. # Set -msoft-float, because the simulator doesn't have FP support yet. -process_multilib_options "-msoft-float"; +process_multilib_options "-msoft-float" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" -set_board_info cflags "-mka [libgloss_include_flags] [newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info cflags "-mka [libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # Use mon960. -set_board_info ldscript "-Wl,-Tmon960.ld"; +set_board_info ldscript "-Wl,-Tmon960.ld" # And, it can't do arguments, and doesn't have real signals. # ??? Unknown if this is right. -set_board_info noargs 1; -set_board_info gdb,nosignals 1; +set_board_info noargs 1 +set_board_info gdb,nosignals 1 diff --git a/baseboards/jmr3904-sim.exp b/baseboards/jmr3904-sim.exp index 244e2b5..4118de4 100644 --- a/baseboards/jmr3904-sim.exp +++ b/baseboards/jmr3904-sim.exp @@ -11,4 +11,4 @@ set_board_info libjava,options "-G 0" set_board_info gcc,stack_size "8192" # Otherwise we're the same as the standard MIPS simulator. -load_base_board_description "mips-sim"; +load_base_board_description "mips-sim" diff --git a/baseboards/linux-gdbserver.exp b/baseboards/linux-gdbserver.exp index abf06d7..6f541da 100644 --- a/baseboards/linux-gdbserver.exp +++ b/baseboards/linux-gdbserver.exp @@ -1,11 +1,11 @@ # gdbserver running native. -load_generic_config "gdbserver"; +load_generic_config "gdbserver" -process_multilib_options ""; +process_multilib_options "" # The default compiler for this target. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # We will be using the standard GDB remote protocol set_board_info gdb_protocol "remote" @@ -21,10 +21,10 @@ set_board_info sockethost "localhost:" # set_board_info gdb,socketport "4004" # Use techniques appropriate to a stub -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 # This gdbserver can only run a process once per session. -set_board_info gdb,do_reload_on_run 1; +set_board_info gdb,do_reload_on_run 1 # There's no support for argument-passing (yet). set_board_info noargs 1 @@ -33,4 +33,4 @@ set_board_info noargs 1 set_board_info gdb,noinferiorio 1 # Can't do hardware watchpoints, in general -set_board_info gdb,no_hardware_watchpoints 1; +set_board_info gdb,no_hardware_watchpoints 1 diff --git a/baseboards/linux-libremote.exp b/baseboards/linux-libremote.exp index 8310969..2c408c5 100644 --- a/baseboards/linux-libremote.exp +++ b/baseboards/linux-libremote.exp @@ -1,11 +1,11 @@ # Libremote gdbserver running native. -load_generic_config "gdbserver"; +load_generic_config "gdbserver" -process_multilib_options ""; +process_multilib_options "" # The default compiler for this target. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # We will be using the standard GDB remote protocol set_board_info gdb_protocol "remote" @@ -21,10 +21,10 @@ set_board_info gdb_server_prog \ # set_board_info gdb,socketport "4004" # Use techniques appropriate to a stub -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 # This gdbserver can only run a process once per session. -set_board_info gdb,do_reload_on_run 1; +set_board_info gdb,do_reload_on_run 1 # There's no support for argument-passing (yet). set_board_info noargs 1 @@ -33,4 +33,4 @@ set_board_info noargs 1 set_board_info gdb,noinferiorio 1 # Can't do hardware watchpoints, in general -set_board_info gdb,no_hardware_watchpoints 1; +set_board_info gdb,no_hardware_watchpoints 1 diff --git a/baseboards/m32r-sim.exp b/baseboards/m32r-sim.exp index 5bc73d4..e80c38d 100644 --- a/baseboards/m32r-sim.exp +++ b/baseboards/m32r-sim.exp @@ -21,7 +21,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. diff --git a/baseboards/m68hc11-sim.exp b/baseboards/m68hc11-sim.exp index 8f4477c..11d6896 100644 --- a/baseboards/m68hc11-sim.exp +++ b/baseboards/m68hc11-sim.exp @@ -3,7 +3,7 @@ set_board_info target_install {m6811-elf} # Load the generic configuration for this board. This will define any # routines needed to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. load_base_board_description "basic-sim" @@ -17,15 +17,15 @@ set_board_info compiler "[find_gcc]" # We only support newlib on this target. We assume that all multilib # options have been specified before we get here. -set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" # The GCC testsuite programs create quite large executables for the 68HC11. # We have to give enough room for the text section and we must make sure # that the data section does not overlay the 68HC11 IO registers. We could # relocate the IO registers but this would add some complexity to the crt0. -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x2000 -Wl,-Tdata,0x1100"; +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x2000 -Wl,-Tdata,0x1100" # No linker script needed. -set_board_info ldscript "-Wl,--script,sim-valid.x"; +set_board_info ldscript "-Wl,--script,sim-valid.x" # Can't pass arguments to programs on this target.. set_board_info noargs 1 diff --git a/baseboards/m68k-emc.exp b/baseboards/m68k-emc.exp index 7b57649..cdba398 100644 --- a/baseboards/m68k-emc.exp +++ b/baseboards/m68k-emc.exp @@ -1,6 +1,6 @@ # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "m68k-emc"; +load_generic_config "m68k-emc" # No multilib options by default. process_multilib_options "" @@ -9,18 +9,18 @@ process_multilib_options "" # with what compiler is tested when testing gcc. set_board_info compiler "[find_gcc]" -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" set_board_info ldflags "-nostdlib [libgloss_link_flags] [newlib_link_flags]" # No linker script. -set_board_info ldscript ""; +set_board_info ldscript "" # The idt interface can't return exit statuses, so gcc (ctorture et # al) needs to do what it can to get them. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # GDB needs to use "target remote" to talk to the board. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # Can't pass arguments to the program under test. set_board_info noargs 1 diff --git a/baseboards/mcore-moto-sim.exp b/baseboards/mcore-moto-sim.exp index a362f4f..92fac5f 100644 --- a/baseboards/mcore-moto-sim.exp +++ b/baseboards/mcore-moto-sim.exp @@ -20,7 +20,7 @@ set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. @@ -55,11 +55,11 @@ proc sim_spawn { dest cmdline args } { puts $handle "quit" close $handle - return [eval remote_spawn host \{ $sim $simflags "-sdoit" \} $args]; + return [eval remote_spawn host \{ $sim $simflags "-sdoit" \} $args] } proc sim_wait { dest timeout } { - return [remote_wait host $timeout]; + return [remote_wait host $timeout] } proc sim_load { dest prog args } { @@ -67,25 +67,25 @@ proc sim_load { dest prog args } { if ![file exists $prog] then { perror "sim.exp: $prog to be downloaded does not exist." verbose -log "$prog to be downloaded does not exist." 3 - return [list "untested" ""]; + return [list "untested" ""] } set sim_time_limit 240 - set output ""; + set output "" - set res [remote_spawn target "${prog}"]; + set res [remote_spawn target "${prog}"] if { $res <= 0 } { - return [list "fail" "remote_spawn failed"]; + return [list "fail" "remote_spawn failed"] } - set state [remote_wait target $sim_time_limit]; - set status [lindex $state 0]; - set output [lindex $state 1]; - verbose "Output is $output"; + set state [remote_wait target $sim_time_limit] + set status [lindex $state 0] + set output [lindex $state 1] + verbose "Output is $output" - set status2 [check_for_board_status output]; + set status2 [check_for_board_status output] if { $status2 >= 0 } { set status $status2 } @@ -99,10 +99,10 @@ proc sim_load { dest prog args } { } else { set result "fail" } - return [list $result $output]; + return [list $result $output] } -set_board_info protocol "sim"; +set_board_info protocol "sim" # By default, assume the simulator is slow. This causes some tests # to either be simplified or skipped completely. @@ -119,7 +119,7 @@ proc find_sim { target_alias sim_dir sim_name } { ## XXX - fixme - this should not be hardcoded. ## XXX - fixme - this should vary depending upon endianism selected. - return "/home/nickc/bin/linux/sim-be"; + return "/home/nickc/bin/linux/sim-be" } -set_board_info is_simulator 1; +set_board_info is_simulator 1 diff --git a/baseboards/mcore-sim.exp b/baseboards/mcore-sim.exp index 21ef68a..b5a015b 100644 --- a/baseboards/mcore-sim.exp +++ b/baseboards/mcore-sim.exp @@ -21,7 +21,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. diff --git a/baseboards/mips-idt.exp b/baseboards/mips-idt.exp index 17c6ca8..9cd10d0 100644 --- a/baseboards/mips-idt.exp +++ b/baseboards/mips-idt.exp @@ -1,30 +1,30 @@ # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "mips-idt"; +load_generic_config "mips-idt" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # We don't use any multilib options by default. process_multilib_options "" -set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # Use idt. if { [board_info $board obj_format] == "ecoff" } { - set_board_info ldscript "-Wl,-Tidtecoff.ld"; + set_board_info ldscript "-Wl,-Tidtecoff.ld" } else { - set_board_info ldscript "-Wl,-Tidt.ld"; + set_board_info ldscript "-Wl,-Tidt.ld" } # The idt interface can't return exit statuses, so gcc (ctorture et # al) needs to do what it can to get them. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # GDB needs to use "target mips" to talk to the board. -set_board_info gdb_protocol "mips"; +set_board_info gdb_protocol "mips" # And, it can't do arguments, and doesn't have real signals. set_board_info noargs 1 diff --git a/baseboards/mips-lnews-sim.exp b/baseboards/mips-lnews-sim.exp index b4685df..e0cec94 100644 --- a/baseboards/mips-lnews-sim.exp +++ b/baseboards/mips-lnews-sim.exp @@ -2,4 +2,4 @@ set_board_info ldscript "-Wl,-Tlnews.ld" # Otherwise, it's the same as the standard mips simulator. -load_base_board_description "mips-sim"; +load_base_board_description "mips-sim" diff --git a/baseboards/mips-lsi-sim.exp b/baseboards/mips-lsi-sim.exp index 47cae89..42a141d 100644 --- a/baseboards/mips-lsi-sim.exp +++ b/baseboards/mips-lsi-sim.exp @@ -5,4 +5,4 @@ add_multilib_option "-mips16" set_board_info ldscript "-Wl,-Tlsi.ld" # Otherwise we're the same as the standard MIPS simulator. -load_base_board_description "mips-sim"; +load_base_board_description "mips-sim" diff --git a/baseboards/mips-sim-idt32.exp b/baseboards/mips-sim-idt32.exp index 98e6ea8..72e3009 100644 --- a/baseboards/mips-sim-idt32.exp +++ b/baseboards/mips-sim-idt32.exp @@ -1,34 +1,34 @@ # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim mips; +setup_sim mips # No multilib flags are set by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" #set_board_info needs_status_wrapper 1 -set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # Use idt. if { [board_info $board obj_format] == "ecoff" } { - set_board_info ldscript "-Tidtecoff.ld"; + set_board_info ldscript "-Tidtecoff.ld" } else { - set_board_info ldscript "-Tidt32.ld"; + set_board_info ldscript "-Tidt32.ld" } # And, it can't do arguments, and doesn't have real signals. -set_board_info noargs 1; -set_board_info gdb,nosignals 1; +set_board_info noargs 1 +set_board_info gdb,nosignals 1 # Tell gdb to assume no fpu for -msoft-float compilation if {[string match "*soft-float*" $current_target_name]} { diff --git a/baseboards/mips-sim-idt64.exp b/baseboards/mips-sim-idt64.exp index a0f9d0c..94042f2 100644 --- a/baseboards/mips-sim-idt64.exp +++ b/baseboards/mips-sim-idt64.exp @@ -1,34 +1,34 @@ # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim mips; +setup_sim mips # No multilib flags are set by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" #set_board_info needs_status_wrapper 1 -set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # Use idt. if { [board_info $board obj_format] == "ecoff" } { - set_board_info ldscript "-Tidtecoff.ld"; + set_board_info ldscript "-Tidtecoff.ld" } else { - set_board_info ldscript "-Tidt64.ld"; + set_board_info ldscript "-Tidt64.ld" } # And, it can't do arguments, and doesn't have real signals. -set_board_info noargs 1; -set_board_info gdb,nosignals 1; +set_board_info noargs 1 +set_board_info gdb,nosignals 1 # Tell gdb to assume no fpu for -msoft-float compilation if {[string match "*soft-float*" $current_target_name]} { diff --git a/baseboards/mips-sim.exp b/baseboards/mips-sim.exp index 1df7e97..b9c549b 100644 --- a/baseboards/mips-sim.exp +++ b/baseboards/mips-sim.exp @@ -1,30 +1,30 @@ # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim mips; +setup_sim mips # No multilib flags are set by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" -set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # Use idt. if { [board_info $board obj_format] == "ecoff" } { - set_board_info ldscript "-Tidtecoff.ld"; + set_board_info ldscript "-Tidtecoff.ld" } else { - set_board_info ldscript "-Tidt.ld"; + set_board_info ldscript "-Tidt.ld" } # And, it can't do arguments, and doesn't have real signals. -set_board_info noargs 1; -set_board_info gdb,nosignals 1; +set_board_info noargs 1 +set_board_info gdb,nosignals 1 diff --git a/baseboards/mips64-sim.exp b/baseboards/mips64-sim.exp index 99f8831..b3364bb 100644 --- a/baseboards/mips64-sim.exp +++ b/baseboards/mips64-sim.exp @@ -4,26 +4,26 @@ set_board_info target_install {mips64vr4300-elf # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim mips; +setup_sim mips # No multilib flags are set by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" -set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # PMON linker script. set_board_info ldscript "-Tpmon.ld" # And, it can't do arguments or signals in GDB. -set_board_info noargs 1; -set_board_info gdb,nosignals 1; +set_board_info noargs 1 +set_board_info gdb,nosignals 1 diff --git a/baseboards/mips64vr4100-sim.exp b/baseboards/mips64vr4100-sim.exp index 6e1d5eb..7cc39f8 100644 --- a/baseboards/mips64vr4100-sim.exp +++ b/baseboards/mips64vr4100-sim.exp @@ -29,5 +29,5 @@ set board_info($board,ldscript) "-Wl,-Tidt.ld" # the standard GCC wrapper will work with this target. set board_info($board,needs_status_wrapper) 1 set board_info($board,gdb,noargs) 1 -set_board_info gdb,nosignals 1; -set_board_info noargs 1; +set_board_info gdb,nosignals 1 +set_board_info noargs 1 diff --git a/baseboards/mn10200-cygmon.exp b/baseboards/mn10200-cygmon.exp index 1d122e3..4c3dd8a 100644 --- a/baseboards/mn10200-cygmon.exp +++ b/baseboards/mn10200-cygmon.exp @@ -4,29 +4,29 @@ set_board_info target_install {mn10200-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "mn10200-eval"; +load_generic_config "mn10200-eval" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. set_board_info ldscript "-Teval.ld" # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info gdb,noargs 1; -set_board_info noargs 1; +set_board_info gdb,noargs 1 +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 diff --git a/baseboards/mn10200-sim.exp b/baseboards/mn10200-sim.exp index 01c5673..f307b30 100644 --- a/baseboards/mn10200-sim.exp +++ b/baseboards/mn10200-sim.exp @@ -42,4 +42,4 @@ set_board_info no_double 1 # Used by a few gcc.c-torture testcases to delimit how large the stack can # be. -set_board_info gcc,stack_size 4096; +set_board_info gcc,stack_size 4096 diff --git a/baseboards/mn10300-cygmon.exp b/baseboards/mn10300-cygmon.exp index 2f0b45f..3a435ea 100644 --- a/baseboards/mn10300-cygmon.exp +++ b/baseboards/mn10300-cygmon.exp @@ -4,35 +4,35 @@ set_board_info target_install {mn10300-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "mn10300-eval"; +load_generic_config "mn10300-eval" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. set_board_info ldscript "-Teval.ld" if {[string compare [board_info $board boardtype] "asb2303"] == 0} { - set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags] -mno-crt0 -mam33-2"; + set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags] -mno-crt0 -mam33-2" set_board_info ldscript "-mam33-2 -Tasb2303.ld" } # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info gdb,noargs 1; -set_board_info noargs 1; +set_board_info gdb,noargs 1 +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 diff --git a/baseboards/mn10300-sim.exp b/baseboards/mn10300-sim.exp index a4f3bfd..177f5bc 100644 --- a/baseboards/mn10300-sim.exp +++ b/baseboards/mn10300-sim.exp @@ -38,4 +38,4 @@ set_board_info gdb,noinferiorio 1 # Used by a few gcc.c-torture testcases to delimit how large the stack can # be. -set_board_info gcc,stack_size 4096; +set_board_info gcc,stack_size 4096 diff --git a/baseboards/msparc-cygmon.exp b/baseboards/msparc-cygmon.exp index 55fc491..0e8d7c4 100644 --- a/baseboards/msparc-cygmon.exp +++ b/baseboards/msparc-cygmon.exp @@ -1 +1 @@ -load_base_board_description "cygmon"; +load_base_board_description "cygmon" diff --git a/baseboards/op50n.exp b/baseboards/op50n.exp index dee8ca3..836c8ce 100644 --- a/baseboards/op50n.exp +++ b/baseboards/op50n.exp @@ -1,13 +1,13 @@ # Load the tool-specific configuration for this board, as well as the # generic configuration. This will define any routines needed by the # tool to communicate with the board. -load_generic_config "proelf"; +load_generic_config "proelf" # GDB needs to use "target op50n" to talk to the board. -set_board_info gdb_protocol "op50n"; +set_board_info gdb_protocol "op50n" if ![board_info $board exists output_format] { - set tempfil [lookfor_file $tool_root_dir binutils/objcopy]; + set tempfil [lookfor_file $tool_root_dir binutils/objcopy] if { $tempfil != "" } { set_board_info objcopy $tempfil } else { @@ -18,19 +18,19 @@ if ![board_info $board exists output_format] { # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # It's an op50n board. -set_board_info ldscript "-Wl,-Top50n.ld"; +set_board_info ldscript "-Wl,-Top50n.ld" # The proelf interface has no way to return status information, so we # need to indicate this. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # No support for signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 # Nor can we do I/O. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # The monitor interface is really slow. -set_board_info gdb,timeout 540; +set_board_info gdb,timeout 540 diff --git a/baseboards/powerpc-bug.exp b/baseboards/powerpc-bug.exp index 2428f72..87eb11d 100644 --- a/baseboards/powerpc-bug.exp +++ b/baseboards/powerpc-bug.exp @@ -1,10 +1,10 @@ -load_generic_config "powerpc-bug"; +load_generic_config "powerpc-bug" # This is a list of toolchains that are supported on this board. -set_board_info target_install {powerpc-eabi}; +set_board_info target_install {powerpc-eabi} # We need mvme by default. -process_multilib_options "mvme"; +process_multilib_options "mvme" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. @@ -14,7 +14,7 @@ set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script needed for this board. -set_board_info ldscript ""; +set_board_info ldscript "" # Can't pass arguments to programs on this target.. set_board_info noargs 1 diff --git a/baseboards/powerpc-sim.exp b/baseboards/powerpc-sim.exp index e52d0b5..f3faa7c 100644 --- a/baseboards/powerpc-sim.exp +++ b/baseboards/powerpc-sim.exp @@ -22,7 +22,7 @@ set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "-msim [libgloss_link_flags] [newlib_link_flags]" # No support for signals on this target. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 # Can't call functions from GDB. # set_board_info gdb,cannot_call_functions 1 diff --git a/baseboards/powerpcle-sim.exp b/baseboards/powerpcle-sim.exp index 20754fa..d1ae076 100644 --- a/baseboards/powerpcle-sim.exp +++ b/baseboards/powerpcle-sim.exp @@ -22,7 +22,7 @@ set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "-msim [libgloss_link_flags] [newlib_link_flags]" # No support for signals on this target. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 # Can't call functions from GDB. set_board_info gdb,cannot_call_functions 1 diff --git a/baseboards/rom68k-idp.exp b/baseboards/rom68k-idp.exp index 4f0d1ad..aadd656 100644 --- a/baseboards/rom68k-idp.exp +++ b/baseboards/rom68k-idp.exp @@ -1,9 +1,9 @@ # This is a list of toolchains that are supported on this board. -set_board_info target_install {m68k-coff m68k-elf}; +set_board_info target_install {m68k-coff m68k-elf} # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "rom68k"; +load_generic_config "rom68k" # Need soft-float by default. process_multilib_options "-msoft-float" @@ -12,19 +12,19 @@ process_multilib_options "-msoft-float" # with what compiler is tested when testing gcc. set_board_info compiler "[find_gcc]" -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" # Nasty hack. if { [board_info $board obj_format] == "a.out" } { # Need to pass the start address to objcopy. - set_board_info use_vma_offset 1; + set_board_info use_vma_offset 1 # Wrapping has to be specially done for m68k-aout, for whatever reason. - set_board_info wrap_m68k_aout 1; + set_board_info wrap_m68k_aout 1 set extra_m68k_ld_flags "-N -nostdlib " # We need to tell GDB to load at the correct offset. - set_board_info gdb_load_offset [board_info $board hex_startaddr]; + set_board_info gdb_load_offset [board_info $board hex_startaddr] } else { set extra_m68k_ld_flags "" } @@ -35,7 +35,7 @@ unset extra_m68k_ld_flags # If no output format is specified, use objcopy. if ![board_info $board exists output_format] { - set tempfil [lookfor_file $tool_root_dir binutils/objcopy]; + set tempfil [lookfor_file $tool_root_dir binutils/objcopy] if { $tempfil != "" } { set_board_info objcopy $tempfil } else { @@ -45,13 +45,13 @@ if ![board_info $board exists output_format] { } # IDP linker script. -set_board_info ldscript "-Wl,-Tidp.ld"; +set_board_info ldscript "-Wl,-Tidp.ld" # The idt interface can't return exit statuses, so gcc (ctorture et # al) needs to do what it can to get them. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # GDB needs to use "target rom68k" to talk to the board. -set_board_info gdb_protocol "rom68k"; +set_board_info gdb_protocol "rom68k" # Can't pass arguments to the program under test. set_board_info noargs 1 @@ -66,4 +66,4 @@ set_board_info gdb,nosignals 1 set_board_info gdb,noresults 1 # Pseudo-random guess. -set_board_info sys_speed_value 200; +set_board_info sys_speed_value 200 diff --git a/baseboards/sh-hms-sim.exp b/baseboards/sh-hms-sim.exp index 69da8d6..aa1d79a 100644 --- a/baseboards/sh-hms-sim.exp +++ b/baseboards/sh-hms-sim.exp @@ -24,7 +24,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" set_board_info ldflags "[newlib_link_flags]" # No linker script for this board. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this. # Doesn't work on SH yet. # set_board_info needs_status_wrapper 1 @@ -40,7 +40,7 @@ set_board_info gdb,cannot_call_functions 1 set_board_info gcc,stack_size 16384 # Need to pass -mieee in order to for the compiler to be IEEE-fp compliant. -set_board_info ieee_multilib_flags "-mieee"; +set_board_info ieee_multilib_flags "-mieee" #We want to pass "18" to GDB"s "targt sim" command. set_board_info gdb,target_sim_options "18" diff --git a/baseboards/sh-hms.exp b/baseboards/sh-hms.exp index 4653707..662f1d4 100644 --- a/baseboards/sh-hms.exp +++ b/baseboards/sh-hms.exp @@ -44,4 +44,4 @@ set_board_info gcc,stack_size 16384 set_board_info exit_statuses_bad 1 # Need to pass -mieee in order to for the compiler to be IEEE-fp compliant. -set_board_info ieee_multilib_flags "-mieee"; +set_board_info ieee_multilib_flags "-mieee" diff --git a/baseboards/sparc-sim.exp b/baseboards/sparc-sim.exp index 878d452..78e4d3e 100644 --- a/baseboards/sparc-sim.exp +++ b/baseboards/sparc-sim.exp @@ -4,31 +4,31 @@ set_board_info target_install {sparc-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim erc32; +setup_sim erc32 # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]" # ELF simulator linker script. -set_board_info ldscript "-Telfsim.ld"; +set_board_info ldscript "-Telfsim.ld" # The simulator doesn't return exit statuses and we need to indicate this. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # We can't pass arguments. -set_board_info noargs 1; +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 # We want to specify the sparclite emulator in GDB. #set_board_info gdb,target_sim_options "-sparclite" diff --git a/baseboards/sparc64-sim.exp b/baseboards/sparc64-sim.exp index 914a571..937bf86 100644 --- a/baseboards/sparc64-sim.exp +++ b/baseboards/sparc64-sim.exp @@ -19,7 +19,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script. -set_board_info ldscript ""; +set_board_info ldscript "" # Used by a few gcc.c-torture testcases to delimit how large the stack can # be. diff --git a/baseboards/sparclet-aout.exp b/baseboards/sparclet-aout.exp index 153549c..4ac59c4 100644 --- a/baseboards/sparclet-aout.exp +++ b/baseboards/sparclet-aout.exp @@ -3,7 +3,7 @@ set_board_info target_install {sparclet-aout} # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board,. -load_generic_config "sparclet"; +load_generic_config "sparclet" # It needs broken-saverestore by default. process_multilib_options "-mbroken-saverestore" @@ -31,18 +31,18 @@ set_board_info gdb_load_offset "0x12020000" # And the place in memory where we load the stub. set_board_info gdb_stub_offset "0x12010000" # No mathlib. -set_board_info mathlib ""; +set_board_info mathlib "" # We can't do I/O in GDB. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info noargs 1; +set_board_info noargs 1 set_board_info gcc,no_varargs 1 set_board_info gcc,no_label_values 1 # This is the old GDB prompt for the toolchain. # Uncomment for old tests -set_board_info gdb_prompt "\\(gdb\\)"; +set_board_info gdb_prompt "\\(gdb\\)" # We always have to set a breakpoint at exit(), instead of just _exit(). -set_board_info always_break_exit 1; +set_board_info always_break_exit 1 diff --git a/baseboards/sparclite-coff.exp b/baseboards/sparclite-coff.exp index 61eafc4..b1db2b0 100644 --- a/baseboards/sparclite-coff.exp +++ b/baseboards/sparclite-coff.exp @@ -4,38 +4,38 @@ set_board_info target_install {sparclite-coff} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "slite"; +load_generic_config "slite" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "-nostdlib [libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x40005000 -N"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "-nostdlib [libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x40005000 -N" # ex930 linker script. -set_board_info ldscript "-Tex930.ld"; +set_board_info ldscript "-Tex930.ld" # The address at which the stub needs to be linked. -set_board_info gdb_stub_offset "0x40000000"; +set_board_info gdb_stub_offset "0x40000000" # The board doesn't return exit statuses and we need to indicate this. # However, the standard GCC wrapper won't work with this target because # it doesn't return stuff from printf (). -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # We use a GDB stub to talk to the board. -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 # For GDB, we need to use a real stub (not the separate loader scheme # we use for Sparclet). -set_board_info gdb_stub ""; +set_board_info gdb_stub "" # And the protocol is "sparclite serial". -set_board_info gdb_protocol "sparclite serial"; +set_board_info gdb_protocol "sparclite serial" # No mathlib. -set_board_info mathlib ""; +set_board_info mathlib "" # We can't do I/O in GDB. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info noargs 1; +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 diff --git a/baseboards/sparclite-sim-le.exp b/baseboards/sparclite-sim-le.exp index 5daec2e..60d29ee 100644 --- a/baseboards/sparclite-sim-le.exp +++ b/baseboards/sparclite-sim-le.exp @@ -4,44 +4,44 @@ set_board_info target_install {sparclite-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" if ![info exists board_info($board,multilib_flags)] { set board_info($board,multilib_flags) "-mlittle-endian-data" } # This tells it which directory to look in for the simulator. -setup_sim erc32; +setup_sim erc32 # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]" # ELF simulator linker script. -set_board_info ldscript "-Telfsim.ld"; +set_board_info ldscript "-Telfsim.ld" # The simulator doesn't return exit statuses and we need to indicate this. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # We use a GDB stub to talk to the board. -# set_board_info use_gdb_stub 1; +# set_board_info use_gdb_stub 1 # For GDB, we need to use a real stub (not the separate loader scheme # we use for Sparclet). -# set_board_info gdb_stub ""; +# set_board_info gdb_stub "" # No mathlib. -# set_board_info mathlib ""; +# set_board_info mathlib "" # We can't do I/O in GDB. -# set_board_info gdb,noinferiorio 1; +# set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info noargs 1; +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 #We want to specify the sparclite emulator in GDB. set_board_info gdb,target_sim_options "-sparclite" diff --git a/baseboards/sparclite-sim.exp b/baseboards/sparclite-sim.exp index a977ffa..d5171a9 100644 --- a/baseboards/sparclite-sim.exp +++ b/baseboards/sparclite-sim.exp @@ -4,31 +4,31 @@ set_board_info target_install {sparclite-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim erc32; +setup_sim erc32 # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "-nostdlib -nostartfiles [libgloss_link_flags] [newlib_link_flags]" # ELF simulator linker script. -set_board_info ldscript "-Telfsim.ld"; +set_board_info ldscript "-Telfsim.ld" # The simulator doesn't return exit statuses and we need to indicate this. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # We can't pass arguments. -set_board_info noargs 1; +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 # We want to specify the sparclite emulator in GDB. set_board_info gdb,target_sim_options "-sparclite" diff --git a/baseboards/strongarm-cygmon.exp b/baseboards/strongarm-cygmon.exp index 8e41199..c3ebecf 100644 --- a/baseboards/strongarm-cygmon.exp +++ b/baseboards/strongarm-cygmon.exp @@ -4,14 +4,14 @@ set_board_info target_install {strongarm-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "cygmon"; +load_generic_config "cygmon" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. @@ -26,16 +26,16 @@ if {[string compare [board_info $board boardtype] "sa1100dp"] == 0} { } # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info gdb,noargs 1; -set_board_info noargs 1; +set_board_info gdb,noargs 1 +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 set_board_info use_cygmon 1 diff --git a/baseboards/tic80-sim.exp b/baseboards/tic80-sim.exp index dc2cecc..2f5abc7 100644 --- a/baseboards/tic80-sim.exp +++ b/baseboards/tic80-sim.exp @@ -1,28 +1,28 @@ # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. -load_generic_config "sim"; +load_generic_config "sim" # basic-sim.exp is a basic description for the standard Cygnus simulator. -load_base_board_description "basic-sim"; +load_base_board_description "basic-sim" # This tells it which directory to look in for the simulator. -setup_sim tic80; +setup_sim tic80 # No multilib flags are set by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. This has *nothing* to do # with what compiler is tested if we're testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" -set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # No linker script is needed. -# set_board_info ldscript ""; +# set_board_info ldscript "" # And, it can't do arguments, and doesn't have real signals. -set_board_info noargs 1; -set_board_info gdb,nosignals 1; +set_board_info noargs 1 +set_board_info gdb,nosignals 1 # Used by a few gcc.c-torture testcases when trampolines are used. set_board_info gcc,no_varargs 1 diff --git a/baseboards/tx39-dve.exp b/baseboards/tx39-dve.exp index 8973e43..2496b9b 100644 --- a/baseboards/tx39-dve.exp +++ b/baseboards/tx39-dve.exp @@ -4,9 +4,9 @@ set_board_info target_install {mips-tx39-elf mips-elf} # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. if { [board_info $board cygmon] == "yes" } { - load_generic_config "cygmon"; + load_generic_config "cygmon" } else { - load_generic_config "dve"; + load_generic_config "dve" } # It's a big-endian board. @@ -18,11 +18,11 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # DDB linker script. -set_board_info ldscript "-Wl,-Tdve.ld"; +set_board_info ldscript "-Wl,-Tdve.ld" # GDB doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # The GDB protocol used with this board. if { [board_info $board cygmon] == "yes" } { diff --git a/baseboards/tx39-sim.exp b/baseboards/tx39-sim.exp index 8af9912..549def3 100644 --- a/baseboards/tx39-sim.exp +++ b/baseboards/tx39-sim.exp @@ -5,4 +5,4 @@ add_multilib_option "" set_board_info ldscript "-Wl,-Tdve.ld" # Otherwise we're the same as the standard MIPS simulator. -load_base_board_description "mips-sim"; +load_base_board_description "mips-sim" diff --git a/baseboards/unix.exp b/baseboards/unix.exp index 48c6e99..a1b8005 100644 --- a/baseboards/unix.exp +++ b/baseboards/unix.exp @@ -1,23 +1,23 @@ # The canonical unix board description. -load_generic_config "unix"; +load_generic_config "unix" -process_multilib_options ""; +process_multilib_options "" -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" -set_board_info bmk,use_alarm 1; +set_board_info bmk,use_alarm 1 # Set host_library_path to pick up libs such as libstdc++ -#set_board_info host_library_path "[file dirname [file dirname [file dirname [file dirname [file dirname [exec [find_gcc] --print-prog-name=cc1]]]]]]/lib"; +#set_board_info host_library_path "[file dirname [file dirname [file dirname [file dirname [file dirname [exec [find_gcc] --print-prog-name=cc1]]]]]]/lib" # Do not use -lm on Cygwin if { [istarget "*-*-cygwin*"] } { - set_board_info mathlib ""; + set_board_info mathlib "" } # For the alpha, force use ieee if { [istarget "alpha*-*"] } { - set_board_info ieee_multilib_flags "-mieee"; + set_board_info ieee_multilib_flags "-mieee" } diff --git a/baseboards/usparc-cygmon.exp b/baseboards/usparc-cygmon.exp index f827c60..076c03c 100644 --- a/baseboards/usparc-cygmon.exp +++ b/baseboards/usparc-cygmon.exp @@ -1,47 +1,47 @@ -load_base_board_description "cygmon"; +load_base_board_description "cygmon" -set_board_info testcase_timeout 30; +set_board_info testcase_timeout 30 proc ${board}_init { dest } { - global usparc_init_count; - set shell_prompt [board_info $dest shell_prompt]; + global usparc_init_count + set shell_prompt [board_info $dest shell_prompt] if ![info exists usparc_init_count] { - set usparc_init_count 0; + set usparc_init_count 0 } else { - incr usparc_init_count; + incr usparc_init_count if { $usparc_init_count == 3 } { - return -1; + return -1 } } - remote_close $dest; - set shell_id [remote_open $dest]; + remote_close $dest + set shell_id [remote_open $dest] if { $shell_id == "" || $shell_id < 0 } { - return [remote_reboot $dest]; + return [remote_reboot $dest] } else { - remote_binary $dest; - remote_send $dest "\n"; - set got_one 0; + remote_binary $dest + remote_send $dest "\n" + set got_one 0 remote_expect $dest 5 { -re "$shell_prompt" { set got_one 1; exp_continue; } default { if { ! $got_one } { - remote_close $dest; - return [remote_reboot $dest]; + remote_close $dest + return [remote_reboot $dest] } } } - remote_send $dest "m \[15\]1fff1001f00 32\n"; + remote_send $dest "m \[15\]1fff1001f00 32\n" remote_expect $dest 5 { -re "$shell_prompt" { - unset usparc_init_count; - remote_close $dest; - return 0; + unset usparc_init_count + remote_close $dest + return 0 } default { - remote_close $dest; - return [remote_reboot $dest]; + remote_close $dest + return [remote_reboot $dest] } } } diff --git a/baseboards/v850-sim.exp b/baseboards/v850-sim.exp index ce3f210..2be74dd 100644 --- a/baseboards/v850-sim.exp +++ b/baseboards/v850-sim.exp @@ -19,7 +19,7 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # DDB linker script. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. diff --git a/baseboards/vr4100-sim.exp b/baseboards/vr4100-sim.exp index c3b278a..3123ec4 100644 --- a/baseboards/vr4100-sim.exp +++ b/baseboards/vr4100-sim.exp @@ -9,4 +9,4 @@ if { [board_info $board obj_format] == "ecoff" } { set_board_info needs_status_wrapper 1 # Otherwise, we're a standard MIPS config. -load_base_board_description "mips64-sim"; +load_base_board_description "mips64-sim" diff --git a/baseboards/vr4111-sim.exp b/baseboards/vr4111-sim.exp index c3b278a..3123ec4 100644 --- a/baseboards/vr4111-sim.exp +++ b/baseboards/vr4111-sim.exp @@ -9,4 +9,4 @@ if { [board_info $board obj_format] == "ecoff" } { set_board_info needs_status_wrapper 1 # Otherwise, we're a standard MIPS config. -load_base_board_description "mips64-sim"; +load_base_board_description "mips64-sim" diff --git a/baseboards/vr4300-ddb.exp b/baseboards/vr4300-ddb.exp index a25afb8..d7cc6b4 100644 --- a/baseboards/vr4300-ddb.exp +++ b/baseboards/vr4300-ddb.exp @@ -16,4 +16,4 @@ set_board_info nullstone,ticks_per_sec 3782018 set_board_info gdb_protocol "ddb" # Otherwise, we're the same as a generic vr4300 board. -load_base_board_description "vr4300"; +load_base_board_description "vr4300" diff --git a/baseboards/vr4300-sim.exp b/baseboards/vr4300-sim.exp index c3b278a..3123ec4 100644 --- a/baseboards/vr4300-sim.exp +++ b/baseboards/vr4300-sim.exp @@ -9,4 +9,4 @@ if { [board_info $board obj_format] == "ecoff" } { set_board_info needs_status_wrapper 1 # Otherwise, we're a standard MIPS config. -load_base_board_description "mips64-sim"; +load_base_board_description "mips64-sim" diff --git a/baseboards/vr5000-ddb.exp b/baseboards/vr5000-ddb.exp index 8cf4b0f..7744b71 100644 --- a/baseboards/vr5000-ddb.exp +++ b/baseboards/vr5000-ddb.exp @@ -3,7 +3,7 @@ set_board_info target_install {mips64vr5000-elf mips64-elf} # Load the generic configuration for this board. This will define a basic # set of routines needed by the tool to communicate with the board. -load_generic_config "vr5000"; +load_generic_config "vr5000" # It's a big-endian board. process_multilib_options "big-endian" @@ -14,14 +14,14 @@ set_board_info compiler "[find_gcc]" set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # DDB linker script. -set_board_info ldscript "-Wl,-Tddb.ld"; +set_board_info ldscript "-Wl,-Tddb.ld" # GDB doesn't return exit statuses and we need to indicate this; # the standard GCC wrapper will work with this target. -set_board_info needs_status_wrapper 1; +set_board_info needs_status_wrapper 1 # The GDB protocol used with this board. -set_board_info gdb_protocol "ddb"; +set_board_info gdb_protocol "ddb" # This is needed for compiling nullstone. set_board_info nullstone,lib "mips-clock.c" diff --git a/baseboards/vx4300.exp b/baseboards/vx4300.exp index 2547b1c..595ebfb 100644 --- a/baseboards/vx4300.exp +++ b/baseboards/vx4300.exp @@ -3,23 +3,23 @@ set_board_info target_install {mips-vxworks5.3} # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "vxworks"; +load_generic_config "vxworks" # No multilib flags by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. Note that this has nothing to do # with what compiler is tested when testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # These are probably wrong. -set_board_info cflags "-EL"; +set_board_info cflags "-EL" # vxworks 5.1 needs the executable to be relinkable. -set_board_info ldflags "-nostdlib -r"; -set_board_info libs "-lgcc"; +set_board_info ldflags "-nostdlib -r" +set_board_info libs "-lgcc" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # GDB needs to use "target vxworks" to talk to the board. -set_board_info gdb_protocol "vxworks"; +set_board_info gdb_protocol "vxworks" diff --git a/baseboards/vx68k.exp b/baseboards/vx68k.exp index d79f5bd..8968e61 100644 --- a/baseboards/vx68k.exp +++ b/baseboards/vx68k.exp @@ -3,23 +3,23 @@ set_board_info target_install {m68k-vxworks5.1 m68k-vxworks5.2} # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "vxworks"; +load_generic_config "vxworks" # No multilib flags by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. Note that this has nothing to do # with what compiler is tested when testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # These are probably wrong. -set_board_info cflags ""; +set_board_info cflags "" # vxworks 5.1 needs the executable to be relinkable. -set_board_info ldflags "-nostdlib -r"; -set_board_info libs "-lgcc"; +set_board_info ldflags "-nostdlib -r" +set_board_info libs "-lgcc" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # GDB needs to use "target vxworks" to talk to the board. -set_board_info gdb_protocol "vxworks"; +set_board_info gdb_protocol "vxworks" diff --git a/baseboards/vx960.exp b/baseboards/vx960.exp index e25c79d..1c5d71e 100644 --- a/baseboards/vx960.exp +++ b/baseboards/vx960.exp @@ -3,27 +3,27 @@ set_board_info target_install {i960-vxworks5.1 i960-vxworks5.2} # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "vxworks"; +load_generic_config "vxworks" # No multilib flags by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. Note that this has nothing to do # with what compiler is tested when testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # These are probably wrong, but at least it is configurable now. if { [board_info $board cpu] == "I960CA" } { - set_board_info cflags "-mca"; + set_board_info cflags "-mca" } else { - set_board_info cflags ""; + set_board_info cflags "" } # vxworks 5.1 needs the executable to be relinkable. -set_board_info ldflags "-nostdlib -r"; -set_board_info libs "-lgcc"; +set_board_info ldflags "-nostdlib -r" +set_board_info libs "-lgcc" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # GDB needs to use "target vxworks" to talk to the board. -set_board_info gdb_protocol "vxworks"; +set_board_info gdb_protocol "vxworks" diff --git a/baseboards/vxsparc.exp b/baseboards/vxsparc.exp index c943e70..a8f41d0 100644 --- a/baseboards/vxsparc.exp +++ b/baseboards/vxsparc.exp @@ -3,23 +3,23 @@ set_board_info target_install {sparc-vxworks5.1 sparc-vxworks5.2} # Load the generic configuration for this board. This will define any # routines needed by the tool to communicate with the board. -load_generic_config "vxworks"; +load_generic_config "vxworks" # No multilib flags by default. -process_multilib_options ""; +process_multilib_options "" # The compiler used to build for this board. Note that this has nothing to do # with what compiler is tested when testing gcc. -set_board_info compiler "[find_gcc]"; +set_board_info compiler "[find_gcc]" # These are probably right. -set_board_info cflags ""; +set_board_info cflags "" # vxworks 5.1 needs the executable to be relinkable. -set_board_info ldflags "-nostdlib -r"; -set_board_info libs "-lgcc"; +set_board_info ldflags "-nostdlib -r" +set_board_info libs "-lgcc" # No linker script needed. -set_board_info ldscript ""; +set_board_info ldscript "" # GDB needs to use "target vxworks" to talk to the board. -set_board_info gdb_protocol "vxworks"; +set_board_info gdb_protocol "vxworks" diff --git a/baseboards/x86-cygmon.exp b/baseboards/x86-cygmon.exp index 45f2422..fc89988 100644 --- a/baseboards/x86-cygmon.exp +++ b/baseboards/x86-cygmon.exp @@ -1,4 +1,4 @@ -load_base_board_description "cygmon"; +load_base_board_description "cygmon" # Default to ELF. if { [board_info $board obj_format] == "a.out" } { diff --git a/baseboards/xscale-cygmon.exp b/baseboards/xscale-cygmon.exp index b7c28de..113b098 100644 --- a/baseboards/xscale-cygmon.exp +++ b/baseboards/xscale-cygmon.exp @@ -4,14 +4,14 @@ set_board_info target_install {xscale-elf} # Load the generic configuration for this board. This will define a # set of generic routines used by the tool to communicate with the # board. -load_generic_config "cygmon"; +load_generic_config "cygmon" # It needs no multilib flags by default. process_multilib_options "" -set_board_info compiler "[find_gcc]"; -set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; -set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]"; +set_board_info compiler "[find_gcc]" +set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags]" # CygMON linker script. @@ -22,16 +22,16 @@ if {[string compare [board_info $board boardtype] "xaret"] == 0} { } # Standard remote protocol. -set_board_info gdb_protocol "remote"; +set_board_info gdb_protocol "remote" # We can't do input in GDB (yet! HA!). It *will* do output, hurrah. -set_board_info gdb,noinferiorio 1; +set_board_info gdb,noinferiorio 1 # Or pass arguments. -set_board_info gdb,noargs 1; -set_board_info noargs 1; +set_board_info gdb,noargs 1 +set_board_info noargs 1 # Or do signals. -set_board_info gdb,nosignals 1; +set_board_info gdb,nosignals 1 set_board_info shell_prompt "cygmon>" -set_board_info use_gdb_stub 1; +set_board_info use_gdb_stub 1 set_board_info use_cygmon 1 diff --git a/baseboards/xtensa-sim.exp b/baseboards/xtensa-sim.exp index 190ef61..1b3a91b 100644 --- a/baseboards/xtensa-sim.exp +++ b/baseboards/xtensa-sim.exp @@ -5,7 +5,7 @@ load_generic_config "sim" load_base_board_description "basic-sim" # Command to invoke the simulator set_board_info sim xt-run -setup_sim xtensa; +setup_sim xtensa # No multilib flags needed by default. process_multilib_options "" # The compiler used to build for this board. This has *nothing* to do @@ -15,7 +15,7 @@ set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" # This board doesn't use a linker script. -set_board_info ldscript ""; +set_board_info ldscript "" # The simulator doesn't return exit statuses and we need to indicate this. set_board_info needs_status_wrapper 1 # No support for signals on this target. |