sim: sim-stop/sim-reason/sim-reg: move to common obj list
[external/binutils.git] / sim / common / run.1
index ad11210..f477934 100644 (file)
@@ -1,4 +1,4 @@
-.\" Copyright (c) 1993 Free Software Foundation
+.\" Copyright (c) 1993, 2004, 2010, 2011 Free Software Foundation
 .\" See section COPYING for conditions for redistribution
 .TH run 1 "13oct1993" "GNU Tools" "GNU Tools"
 .de BP
@@ -21,6 +21,8 @@ run\(em\&Simulator front-end
 .IR freq "\|]"
 .RB "[\|" \-m
 .IR memory "\|]"
+.RB "[\|" \--sysroot
+.IR filepath "\|]"
 .I program
 .ad b
 .hy 1
@@ -71,6 +73,16 @@ Set the memory size for the emulated machine to two to the power
 .IR memory .
 The default value is 19, emulating a board with 524288 bytes of memory.
 
+.TP
+.BI \--sysroot " filepath"
+Prepend
+.IR filepath
+to all simulator system calls that pass absolute file paths.
+Change working directory to
+.IR filepath
+at program start.  Not all simulators support this option; those
+that don't, will ignore it.
+
 .PP
 
 .SH "SEE ALSO"
@@ -87,7 +99,7 @@ Using GDB: A Guide to the GNU Source-Level Debugger\c
 , Richard M. Stallman and Roland H. Pesch.
 
 .SH COPYING
-Copyright (c) 1993, 2000 Free Software Foundation, Inc.
+Copyright (c) 1993-2015 Free Software Foundation, Inc.
 .PP
 This document is distributed under the terms of the GNU Free
 Documentation License, version 1.1.  That license is described in the