summaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-02-11 22:44:23 +0000
committerDoug Evans <dje@google.com>2013-02-11 22:44:23 +0000
commit1a2e803597daace9df84c707e5cbda6d2715df02 (patch)
treedd1a459eec3a1b151a60f4cb4f9a1ea4bea3f652 /gdb/printcmd.c
parent10f6f2b3336373f7ca107ab3a63e6287286c0e6b (diff)
downloadgdb-1a2e803597daace9df84c707e5cbda6d2715df02.tar.gz
(printf_c_string): Fix thinko in comment.
(printf_wide_c_string): Ditto.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 9092f092957..155703da6a5 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1980,7 +1980,7 @@ print_variable_and_value (const char *name, struct symbol *var,
/* Subroutine of ui_printf to simplify it.
Print VALUE to STREAM using FORMAT.
- VALUE is either a C-style string on the target, or an internal variable. */
+ VALUE is a C-style string on the target. */
static void
printf_c_string (struct ui_file *stream, const char *format,
@@ -2014,8 +2014,7 @@ printf_c_string (struct ui_file *stream, const char *format,
/* Subroutine of ui_printf to simplify it.
Print VALUE to STREAM using FORMAT.
- VALUE is either a wide C-style string on the target,
- or an internal variable. */
+ VALUE is a wide C-style string on the target. */
static void
printf_wide_c_string (struct ui_file *stream, const char *format,