diff options
author | Rob Savoye <rob@welcomehome.org> | 2002-04-26 05:56:49 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2002-04-26 05:56:49 +0000 |
commit | 8e999bd54e64578213f0a0437b1bd722b1d018e8 (patch) | |
tree | cb701dc4e9178920c99cffb73f96fc861b2a0941 /config | |
parent | 161152e05e980864d937c381a32b49e6e5c497ed (diff) | |
download | dejagnu-8e999bd54e64578213f0a0437b1bd722b1d018e8.zip dejagnu-8e999bd54e64578213f0a0437b1bd722b1d018e8.tar.gz dejagnu-8e999bd54e64578213f0a0437b1bd722b1d018e8.tar.bz2 |
2002-04-19 Nick Clifton <nickc@cambridge.redhat.com>
* Import files from sourceware dejagnu repository:
2002-03-15 Chris Demetriou <cgd@broadcom.com>
* baseboards/mips-sim-idt32.exp: New file.
2002-01-21 Ben Elliston <bje@redhat.com>
* baseboards/sh-sid.exp: New file.
2001-11-26 Thomas Fitzsimmons <fitzsim@redhat.com>
* baseboards/i386-sid.exp: New file.
2001-10-10 Frank Ch. Eigler <fche@redhat.com>
* config/sid.exp (set_host_info): New proc. Call it to set
gdb,nointerrupt flag to work around framework problems.
2001-08-24 Frank Ch. Eigler <fche@redhat.com>
* baseboards/basic-sid.exp (find_sid_conf): Tolerate not
finding path to pregen configuration file.
2001-02-22 Ben Elliston <bje@redhat.com>
* config/sid.exp: New file.
* baseboards/basic-sid.exp: Likewise.
* baseboards/arm-sid.exp: Likewise.
* baseboards/m32r-sid.exp: Likewise.
* baseboards/m68k-sid.exp: Likewise.
Diffstat (limited to 'config')
-rw-r--r-- | config/sid.exp | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/config/sid.exp b/config/sid.exp new file mode 100644 index 0000000..8ace57f --- /dev/null +++ b/config/sid.exp @@ -0,0 +1,56 @@ +# Routines for loading and running programs on a SID simulator. +# Written by Ben Elliston <bje@cygnus.com>. + +# See default.exp for explanation of arguments and results. + +load_generic_config "sim" + +# Treat sid as a remote board +set_board_info use_gdb_stub 1 + +# The simulator 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 + +# Doesn't pass signals and can't return results. +set_board_info gdb,nosignals 1 +set_board_info gdb,noresults 1 + +# Don't expect interrupts to work in gdb testsuite +proc set_host_info { entry value } { + global target_info board_info + verbose "set_host_info $entry $value" 3 + + set machine host + if [info exists target_info($machine,name)] { + set machine $target_info($machine,name); + } + set board_info($machine,$entry) $value +} +set_host_info gdb,nointerrupts 1 + +# Cannot pass command line arguments +set_board_info noargs 1 + +# Configure TCP/IP connection to sid +set_board_info connect telnet +set_board_info netport localhost:[expr {3000 + [clock clicks] % 2000}] +set_board_info gdb,big_rx_buffers 1 +set_board_info gdb_protocol "remote" +# ... or "async" or "extended-remote" or "extended-async" + +# No multilib options needed by default. +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 "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" +# No linker script needed. +set_board_info ldscript "" + +# Additional sid options +# eg: +# +# set_board_info sim,options "--mksid" |