summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2015-12-22 16:50:28 +0000
committerAdrian McCarthy <amccarth@google.com>2015-12-22 16:50:28 +0000
commitc2961ab889fb983df13f7953e1535859d7a45116 (patch)
tree29cf2b648f71b15743849636167268529623185f /lldb/packages/Python/lldbsuite
parent1ca9cda583614da418e48f3c0e912fa509a69573 (diff)
downloadbcm5719-llvm-c2961ab889fb983df13f7953e1535859d7a45116.tar.gz
bcm5719-llvm-c2961ab889fb983df13f7953e1535859d7a45116.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py
index 683ef044f73..9edbf212278 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py
@@ -29,6 +29,7 @@ class CommonShortSpellingsTestCase(TestBase):
('dis', 'disassemble'),
('ta st a', 'target stop-hook add'),
('fr v', 'frame variable'),
+ ('f 1', 'frame select 1'),
('ta st li', 'target stop-hook list'),
]
OpenPOWER on IntegriCloud