From 76d5c10e6a7baff4f88f2a77d51bb7234bb247b4 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 22 May 2013 10:21:55 +0400 Subject: [PATCH] Adjustments to doco patch re: system-gdbinit scripts. --- gdb/NEWS | 6 ++++++ gdb/doc/gdb.texinfo | 12 +++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index e09907c..458c5f1 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -72,6 +72,12 @@ show debug nios2 ** The new command -dprintf-insert sets a dynamic printf breakpoint. +* New system-wide configuration scripts + A GDB installation now provides scripts suitable as system-wide + configuration scripts for the following systems: + ** ElinOS + ** Wind River Linux + *** Changes in GDB 7.6 * Target record has been renamed to record-full. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 111e352..cb98135 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -36332,19 +36332,23 @@ initialization. If the data-directory is changed after @value{GDBN} has started with the @code{set data-directory} command, the file will not be reread. -@subsection System-wide configuration scripts provided by @value{GDBN} +@node Installed System-wide Configuration Scripts +@subsection Installed System-wide Configuration Scripts +@cindex System-wide configuration scripts The @file{system-gdbinit} directory, located inside the data-directory (as specified by @option{--with-gdb-datadir} at configure time) contains -a number of scripts which can be used as system-wide init files. To +a number of scripts which can be used as system-wide init files. To automatically source those scripts at startup, @value{GDBN} should be -configured with @option{-with-system-gdbinit}. Otherwise, any user +configured with @option{--with-system-gdbinit}. Otherwise, any user should be able to source them by hand as needed. The following scripts are currently available: @itemize @bullet @item @file{elinos.py} +@pindex elinos.py +@cindex ELinOS system-wide configuration script This script is useful when debugging a program on an ELinOS target. It takes advantage of the environment variables defined in a standard ELinOS environment in order to determine the location of the system @@ -36352,6 +36356,8 @@ shared libraries, and then sets the @samp{solib-absolute-prefix} and @samp{solib-search-path} variables appropriately. @item @file{wrs-linux.py} +@pindex wrs-linux.py +@cindex Wind River Linux system-wide configuration script This script is useful when debugging a program on a target running Wind River Linux. It expects the @env{ENV_PREFIX} to be set to the host-side sysroot used by the target system. -- 1.7.10.4