diff options
author | Doug Evans <dje@google.com> | 2010-12-07 17:26:06 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-12-07 17:26:06 +0000 |
commit | aae1c79a03aa76ca68e9a989e7652703178362f0 (patch) | |
tree | 26d741796b72507358fc01ea1d5ae36e5c18b587 /gdb/doc | |
parent | c20cbc067b6fa714b4dc3e6d4025d5b11d605c80 (diff) | |
download | gdb-aae1c79a03aa76ca68e9a989e7652703178362f0.zip gdb-aae1c79a03aa76ca68e9a989e7652703178362f0.tar.gz gdb-aae1c79a03aa76ca68e9a989e7652703178362f0.tar.bz2 |
PR python/12227
* NEWS: Mention -data-directory.
* main.c (captured_main): Recognize -data-directory.
doc/
* gdb.texinfo (Mode Options): Document -data-directory.
(Data Files): Add reference to -data-directory.
testsuite/
* gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
of data-directory.
* lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
updated.
* lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 6b4f2bb..c1d0e1c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-12-07 Doug Evans <dje@google.com> + + * gdb.texinfo (Mode Options): Document -data-directory. + (Data Files): Add reference to -data-directory. + 2010-11-29 Doug Evans <dje@google.com> * gdb.texinfo (Pretty-Printer Introduction): Change diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 422812c..dc9630a 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -1111,6 +1111,12 @@ used if possible. Run @value{GDBN} using @var{directory} as its working directory, instead of the current directory. +@item -data-directory @var{directory} +@cindex @code{--data-directory} +Run @value{GDBN} using @var{directory} as its data directory. +The data directory is where @value{GDBN} searches for its +auxiliary files. @xref{Data Files}. + @item -fullname @itemx -f @cindex @code{--fullname} @@ -15598,6 +15604,10 @@ You can set the default data directory by using the configure-time automatically if the installed @value{GDBN} is moved to a new location. +The data directory may also be specified with the +@code{--data-directory} command line option. +@xref{Mode Options}. + @node Targets @chapter Specifying a Debugging Target |