summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectImage.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-06-30 05:02:46 +0000
committerJim Ingham <jingham@apple.com>2010-06-30 05:02:46 +0000
commit558ce124eb9787beae314effe12b3c17568625e1 (patch)
tree99a0ea792b6a91576c1e4e1e4b97202e2a54963e /lldb/source/Commands/CommandObjectImage.cpp
parente82689fea2a5f049ac3cfab705e6fac7ce1f0f21 (diff)
downloadbcm5719-llvm-558ce124eb9787beae314effe12b3c17568625e1.tar.gz
bcm5719-llvm-558ce124eb9787beae314effe12b3c17568625e1.zip
Add a source file completer to the CommandCompleters.
Add a way for the completers to say whether the completed argument should have a space inserted after is or not. Added the file name completer to the "file" command. llvm-svn: 107247
Diffstat (limited to 'lldb/source/Commands/CommandObjectImage.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectImage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectImage.cpp b/lldb/source/Commands/CommandObjectImage.cpp
index 0bf339c0165..909b36d09c2 100644
--- a/lldb/source/Commands/CommandObjectImage.cpp
+++ b/lldb/source/Commands/CommandObjectImage.cpp
@@ -422,6 +422,7 @@ public:
OptionElementVector &opt_element_vector,
int match_start_point,
int max_return_elements,
+ bool &word_complete,
StringList &matches)
{
// Arguments are the standard module completer.
@@ -434,6 +435,7 @@ public:
match_start_point,
max_return_elements,
NULL,
+ word_complete,
matches);
return matches.GetSize();
}
@@ -463,6 +465,7 @@ public:
OptionElementVector &opt_element_vector,
int match_start_point,
int max_return_elements,
+ bool word_complete,
StringList &matches)
{
// Arguments are the standard source file completer.
@@ -475,6 +478,7 @@ public:
match_start_point,
max_return_elements,
NULL,
+ word_complete,
matches);
return matches.GetSize();
}
OpenPOWER on IntegriCloud