From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb-patches@sources.redhat.com
Subject: [mi, doc] mention escape sequences
Date: Wed, 11 Jun 2008 19:06:00 -0000 [thread overview]
Message-ID: <200806111807.25820.vladimir@codesourcery.com> (raw)
[-- 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:
next reply other threads:[~2008-06-11 14:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 19:06 Vladimir Prus [this message]
2008-06-11 22:36 ` Eli Zaretskii
2008-06-12 16:37 ` Vladimir Prus
2008-06-12 23:24 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200806111807.25820.vladimir@codesourcery.com \
--to=vladimir@codesourcery.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox