Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [mi, doc] mention escape sequences
@ 2008-06-11 19:06 Vladimir Prus
  2008-06-11 22:36 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Prus @ 2008-06-11 19:06 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]


It does not seem that MI spec ever mentions escape sequence support
(where it's supported) or lack of such support. This patch tries to
fix that. 

Note that parse_escape function supports more than C language escape
sequences, it seems, but given that the function has no comments on
those sequences, and given that manual does not say anything about
that either, I don't feel like reverse-engineering the code to
document the exact rules. "As in C" as sufficient, I think, for MI
manual.

OK?

- Volodya

[-- Attachment #2: escape.diff --]
[-- Type: text/x-diff, Size: 767 bytes --]

Index: gdb/doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.504
diff -u -p -r1.504 gdb.texinfo
--- gdb/doc/gdb.texinfo	10 Jun 2008 10:23:53 -0000	1.504
+++ gdb/doc/gdb.texinfo	11 Jun 2008 14:04:34 -0000
@@ -18018,6 +18018,10 @@ list.  Each option is identified by a le
 followed by an optional argument parameter.  Options occur first in the
 parameter list and can be delimited from normal parameters using
 @samp{--} (this is useful when some parameters begin with a dash).
+
+@item
+Within @var{c-string}, all escape sequences allowed by the C language
+are recognized.  Escape sequences are not allowed in @var{non-blank-sequence}.
 @end itemize
 
 Pragmatics:

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

end of thread, other threads:[~2008-06-12 18:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-11 19:06 [mi, doc] mention escape sequences Vladimir Prus
2008-06-11 22:36 ` Eli Zaretskii
2008-06-12 16:37   ` Vladimir Prus
2008-06-12 23:24     ` Eli Zaretskii

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