aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-11-16 19:43:39 +0000
committerDoug Evans <dje@google.com>2012-11-16 19:43:39 +0000
commite64e03922ca4da2d3da887a467076eda615c62bd (patch)
treec3042b366b8557853d7fe30243bd05fd26047bfa /gdb/NEWS
parent79f080079c7ea480a8b16b6d600536e628e558b4 (diff)
downloadgdb-e64e03922ca4da2d3da887a467076eda615c62bd.zip
gdb-e64e03922ca4da2d3da887a467076eda615c62bd.tar.gz
gdb-e64e03922ca4da2d3da887a467076eda615c62bd.tar.bz2
* main.c (gdb_datadir_provided): New static global.
(get_init_files): If --data-directory is provided, and SYSTEM_GDBINIT lives in data-directory, look for it there. * NEWS: Mention it. doc/ * gdb.texinfo (System-wide configuration): If the system-wide init file lives in the data-directory, and --data-directory is provided, look for it there.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 9375218..5e3f54d 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,13 @@
*** Changes since GDB 7.5
+* If the configured location of system.gdbinit file (as given by the
+ --with-system-gdbinit option at configure time) is in the
+ data-directory (as specified by --with-gdb-datadir at configure
+ time) or in one of its subdirectories, then GDB will look for the
+ system-wide init file in the directory specified by the
+ --data-directory command-line option.
+
* New command line options:
-nh Disables auto-loading of ~/.gdbinit, but still executes all the