2011-10-24 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Mon, 24 Oct 2011 11:49:26 +0000 (11:49 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Mon, 24 Oct 2011 11:49:26 +0000 (11:49 +0000)
* NEWS: Move set/show extended-prompt to "New Options". Expand
description. Fix typos.

gdb/ChangeLog
gdb/NEWS

index cc266d4..c24224c 100644 (file)
@@ -1,5 +1,10 @@
 2011-10-24  Phil Muldoon  <pmuldoon@redhat.com>
 
+       * NEWS: Move set/show extended-prompt to "New Options". Expand
+       description. Fix typos.
+
+2011-10-24  Phil Muldoon  <pmuldoon@redhat.com>
+
         PR python/13310
 
        * python/py-param.c (call_doc_function): Correctly deference on
index 80c59f6..5cdb63e 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
      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