This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/sim/common ChangeLog run.1 sim-options.c s ...
- From: hp at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 8 Dec 2004 00:40:30 -0000
- Subject: src/sim/common ChangeLog run.1 sim-options.c s ...
CVSROOT: /cvs/src
Module name: src
Changes by: hp@sourceware.org 2004-12-08 00:40:30
Modified files:
sim/common : ChangeLog run.1 sim-options.c syscall.c nrun.c
sim-config.h
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.124&r2=1.125
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/run.1.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/sim-options.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/syscall.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/nrun.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/sim-config.h.diff?cvsroot=src&r1=1.2&r2=1.3