commit | e5f12977294c8d210d8fc90abd0aa7310760cb37 | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Thu Aug 23 21:16:25 2012 +0000 |
committer | Jim Ingham <jingham@apple.com> | Thu Aug 23 21:16:25 2012 +0000 |
tree | 7dc0672dc99715fc70a360ce5d4493a79c71ae51 | |
parent | 5787f42c1bc0ff106665942c69ed2359ddde6641 [diff] |
gdb format should default to count of 1. <rdar://problem/12161861> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162470 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/OptionGroupFormat.cpp b/source/Interpreter/OptionGroupFormat.cpp index 2c8e117..8af74ae 100644 --- a/source/Interpreter/OptionGroupFormat.cpp +++ b/source/Interpreter/OptionGroupFormat.cpp
@@ -161,9 +161,9 @@ if (count_enabled) { - // Count is enabled and was not set, set it to the default + // Count is enabled and was not set, set it to the default for gdb format statements (which is 1). if (count == 0) - count = m_count.GetDefaultValue(); + count = 1; } else {