aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/common/format.c14
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b4f88d8..6a0c3e4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-08 Doug Evans <dje@google.com>
+
+ * common/format.c (parse_format_string): Fix whitespace.
+
2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
* stack.c (return_command): Work around uninitialized variable
diff --git a/gdb/common/format.c b/gdb/common/format.c
index a513853..161ff55 100644
--- a/gdb/common/format.c
+++ b/gdb/common/format.c
@@ -245,10 +245,10 @@ parse_format_string (char **arg)
this_argclass = long_arg;
else
this_argclass = long_long_arg;
-
- if (seen_big_l)
- bad = 1;
- break;
+
+ if (seen_big_l)
+ bad = 1;
+ break;
case 'c':
this_argclass = lcount == 0 ? int_arg : wide_char_arg;
@@ -286,9 +286,9 @@ parse_format_string (char **arg)
else
this_argclass = double_arg;
- if (lcount || seen_h)
- bad = 1;
- break;
+ if (lcount || seen_h)
+ bad = 1;
+ break;
case '*':
error (_("`*' not supported for precision or width in printf"));