* main.c (gdb_datadir_provided): New static global.
[deliverable/binutils-gdb.git] / gdb / NEWS
index 93752189da013fd91c7b14190b36473f90a25ce3..5e3f54dd15a79d9a10307e76bd3c65ed2c1db695 100644 (file)
--- 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
This page took 0.026059 seconds and 4 git commands to generate.