Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [doc] Move/edit set/show extended-prompt
@ 2011-10-20 15:20 Phil Muldoon
  2011-10-20 15:59 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Muldoon @ 2011-10-20 15:20 UTC (permalink / raw)
  To: gdb-patches


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [doc] Move/edit set/show extended-prompt
  2011-10-20 15:20 [doc] Move/edit set/show extended-prompt Phil Muldoon
@ 2011-10-20 15:59 ` Eli Zaretskii
  2011-10-24 12:34   ` Phil Muldoon
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2011-10-20 15:59 UTC (permalink / raw)
  To: pmuldoon; +Cc: gdb-patches

> From: Phil Muldoon <pmuldoon@redhat.com>
> Date: Thu, 20 Oct 2011 16:09:13 +0100
> 
> 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?

Yes, with one change:

> +  Set the GDB prompt, and allow escape sequences to be inserted to
> +  display miscellaneous information (see help set extended-prompt for

Please enclose 'help set extended-prompt' in some kind of quotes.

Thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [doc] Move/edit set/show extended-prompt
  2011-10-20 15:59 ` Eli Zaretskii
@ 2011-10-24 12:34   ` Phil Muldoon
  0 siblings, 0 replies; 3+ messages in thread
From: Phil Muldoon @ 2011-10-24 12:34 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Phil Muldoon <pmuldoon@redhat.com>
>> Date: Thu, 20 Oct 2011 16:09:13 +0100
>> 
>> 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?
>
> Yes, with one change:
>
> Please enclose 'help set extended-prompt' in some kind of quotes.

So committed with changes.

Thanks,

Phil


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-24 11:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-20 15:20 [doc] Move/edit set/show extended-prompt Phil Muldoon
2011-10-20 15:59 ` Eli Zaretskii
2011-10-24 12:34   ` Phil Muldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox