]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* run.1: Document --sysroot=filepath.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 8 Dec 2004 00:40:30 +0000 (00:40 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 8 Dec 2004 00:40:30 +0000 (00:40 +0000)
commit027e2a04f1bb48ef6839b4cdb83f11164db4c42d
treee8ddde668df755ea4511f8cad9718f1e5885b8f3
parent9888440ad603c44db4908229b7ce827ca7a16eb4
* run.1: Document --sysroot=filepath.
* sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
(standard_options): Support --sysroot=<path>.
(standard_option_handler): Handle OPTION_SYSROOT.
* syscall.c (simulator_sysroot): Define, initialized empty.
(get_path): Prepend simulator_sysroot to absolute file path.
[HAVE_STRING_H]: Include string.h.
[!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
* nrun.c [HAVE_UNISTD_H]: Include unistd.h.
(main): If simulator_sysroot is not empty, chdir there.
* sim-config.h (simulator_sysroot): Declare.
sim/common/ChangeLog
sim/common/nrun.c
sim/common/run.1
sim/common/sim-config.h
sim/common/sim-options.c
sim/common/syscall.c