aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-08-06 17:13:27 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-08-06 17:13:27 +0000
commitf3c8a52aceef30de05174ef7232578535a9cb32a (patch)
treef5562d01451c6f6b0b238902a637fb7ab6aa4a29 /gdb/doc
parent77a9102503a69f208ab08de7ef467701fc3d5268 (diff)
downloadgdb-f3c8a52aceef30de05174ef7232578535a9cb32a.zip
gdb-f3c8a52aceef30de05174ef7232578535a9cb32a.tar.gz
gdb-f3c8a52aceef30de05174ef7232578535a9cb32a.tar.bz2
gdb/
2012-08-06 Nathaniel Flath <flat0103@gmail.com> * NEWS: New entry for 'cd' default parameters. * cli/cli-cmds.c (cd_command): Replace error_no_arg by DIR assignment. gdb/doc/ 2012-08-06 Nathaniel Flath <flat0103@gmail.com> * gdb.texinfo (Working Directory): Added information about new default argument for 'cd' command.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 91d273f..ef48356 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-06 Nathaniel Flath <flat0103@gmail.com>
+
+ * gdb.texinfo (Working Directory): Added information about new
+ default argument for 'cd' command.
+
2012-08-06 Yao Qi <yao@codesourcery.com>
* gdb.texinfo (Remote Configuration): Add kindex for 'set
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9f9fe40..d5e6585 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2267,8 +2267,9 @@ Specify Files}.
@table @code
@kindex cd
@cindex change working directory
-@item cd @var{directory}
-Set the @value{GDBN} working directory to @var{directory}.
+@item cd @r{[}@var{directory}@r{]}
+Set the @value{GDBN} working directory to @var{directory}. If not
+given, @var{directory} uses @file{'~'}.
@kindex pwd
@item pwd