OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [dejagnu/] [config/] [sid.exp] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Routines for loading and running programs on a SID simulator.
2
# Written by Ben Elliston .
3
 
4
# See default.exp for explanation of arguments and results.
5
 
6
load_generic_config "sim"
7
 
8
# Treat sid as a remote board
9
set_board_info use_gdb_stub 1
10
 
11
# The simulator doesn't return exit statuses and we need to indicate this;
12
# the standard GCC wrapper will work with this target.
13
set_board_info needs_status_wrapper  1
14
 
15
# Doesn't pass signals and can't return results.
16
set_board_info gdb,nosignals 1
17
set_board_info gdb,noresults 1
18
 
19
# Cannot pass command line arguments
20
set_board_info noargs 1
21
 
22
# Configure TCP/IP connection to sid
23
set_board_info connect telnet
24
set_board_info netport localhost:[expr {3000 + [clock clicks] % 2000}]
25
set_board_info gdb,big_rx_buffers 1
26
set_board_info gdb_protocol "remote"
27
# ... or "async" or "extended-remote" or "extended-async"
28
 
29
# No multilib options needed by default.
30
process_multilib_options ""
31
 
32
# We only support newlib on this target. We assume that all multilib
33
# options have been specified before we get here.
34
set_board_info compiler  "[find_gcc]"
35
set_board_info cflags    "[libgloss_include_flags] [newlib_include_flags]"
36
set_board_info ldflags   "[libgloss_link_flags] [newlib_link_flags]"
37
# No linker script needed.
38
set_board_info ldscript ""
39
 
40
# Additional sid options
41
# eg:
42
#
43
# set_board_info sim,options "--mksid"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.