[doc] Move/edit set/show extended-prompt

Phil Muldoon pmuldoon@redhat.com
Thu Oct 20 15:20:00 GMT 2011


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



More information about the Gdb-patches mailing list