This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[doc] Move/edit set/show extended-prompt
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 20 Oct 2011 16:09:13 +0100
- Subject: [doc] Move/edit set/show extended-prompt
- Reply-to: pmuldoon at redhat dot com
Tom pointed out the set/show extended-prompt section in NEWS was in the
wrong place. I moved it, and added a brief summary. I also fixed two
typos.
OK?
Cheers,
Phil
--
2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
* NEWS: Move set/show extended-prompt to "New Options". Expand
description. Fix typos.
--
diff --git a/gdb/NEWS b/gdb/NEWS
index 80c59f6..3a8b28c 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -24,14 +24,12 @@
replaced it. Additionally, the default for "print-stack" is now
"off".
- ** A prompt subsitution hook (prompt_hook) is now available to the
+ ** A prompt substitution hook (prompt_hook) is now available to the
Python API.
- ** A new command set/show extended-prompt has been added.
-
** A new Python module, gdb.prompt has been added to the GDB Python
modules library. This module provides functionality for
- escape sequentions in prompts (used by set/show
+ escape sequences in prompts (used by set/show
extended-prompt). These escape sequences are replaced by their
corresponding value.
@@ -116,6 +114,14 @@ info auto-load-scripts [REGEXP]
* New options
+set extended-prompt
+show extended-prompt
+ Set the GDB prompt, and allow escape sequences to be inserted to
+ display miscellaneous information (see help set extended-prompt for
+ the list of sequences). This prompt (and any information
+ accessed through the escape sequences) is updated every time the
+ prompt is displayed.
+
set print entry-values (both|compact|default|if-needed|no|only|preferred)
show print entry-values
Set printing of frame argument values at function entry. In some cases