* main.c (gdb_datadir_provided): New static global.
authorDoug Evans <dje@google.com>
Fri, 16 Nov 2012 19:43:39 +0000 (19:43 +0000)
committerDoug Evans <dje@google.com>
Fri, 16 Nov 2012 19:43:39 +0000 (19:43 +0000)
commite64e03922ca4da2d3da887a467076eda615c62bd
treec3042b366b8557853d7fe30243bd05fd26047bfa
parent79f080079c7ea480a8b16b6d600536e628e558b4
* 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.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/main.c