llvm-project/lldb/test/functionalities/breakpoint
Greg Clayton 3bcdfc0ec1 <rdar://problem/12798131>
Cleaned up the option parsing code to always pass around the short options as integers. Previously we cast this down to "char" and lost some information. I recently added an assert that would detect duplicate short character options which was firing during the test suite.

This fix does the following:
- make sure all short options are treated as "int"
- make sure that short options can be non-printable values when a short option is not required or when an option group is mixed into many commands and a short option is not desired
- fix the help printing to "do the right thing" in all cases. Previously if there were duplicate short character options, it would just not emit help for the duplicates
- fix option parsing when there are duplicates to parse options correctly. Previously the option parsing, when done for an OptionGroup, would just start parsing options incorrectly by omitting table entries and it would end up setting the wrong option value

llvm-svn: 169189
2012-12-04 00:32:51 +00:00
..
breakpoint_command <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
breakpoint_conditions <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
breakpoint_ids Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
breakpoint_ignore_count Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
breakpoint_locations Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
inlined_breakpoints Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00