diff options
author | Doug Evans <dje@google.com> | 2012-11-16 19:43:39 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-11-16 19:43:39 +0000 |
commit | e64e03922ca4da2d3da887a467076eda615c62bd (patch) | |
tree | c3042b366b8557853d7fe30243bd05fd26047bfa /gdb/NEWS | |
parent | 79f080079c7ea480a8b16b6d600536e628e558b4 (diff) | |
download | gdb-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/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |