Improve error handling for `frame select` command when there are too many arguments.
authorAdrian McCarthy <amccarth@google.com>
Tue, 22 Dec 2015 16:50:28 +0000 (16:50 +0000)
committerAdrian McCarthy <amccarth@google.com>
Tue, 22 Dec 2015 16:50:28 +0000 (16:50 +0000)
commitc2961ab889fb983df13f7953e1535859d7a45116
tree29cf2b648f71b15743849636167268529623185f
parent1ca9cda583614da418e48f3c0e912fa509a69573
Improve error handling for `frame select` command when there are too many arguments.

Bug:  https://llvm.org/bugs/show_bug.cgi?id=25847

It now gives a more specific error message and then returns instead of trying to select the wrong frame.

llvm-svn: 256251
lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py
lldb/source/Commands/CommandObjectFrame.cpp