Added the ability to restrict breakpoints by function name, function regexp, selector
etc to specific source files.
Added SB API's to specify these source files & also more than one module.
Added an "exact" option to CompileUnit's FindLineEntry API.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140362 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectBreakpoint.h b/source/Commands/CommandObjectBreakpoint.h
index 9df14da..b032319 100644
--- a/source/Commands/CommandObjectBreakpoint.h
+++ b/source/Commands/CommandObjectBreakpoint.h
@@ -97,7 +97,7 @@
// Instance variables to hold the values for command options.
- std::string m_filename;
+ FileSpecList m_filenames;
uint32_t m_line_num;
uint32_t m_column;
bool m_check_inlines;
@@ -105,7 +105,7 @@
uint32_t m_func_name_type_mask;
std::string m_func_regexp;
std::string m_source_text_regexp;
- STLStringArray m_modules;
+ FileSpecList m_modules;
lldb::addr_t m_load_addr;
uint32_t m_ignore_count;
lldb::tid_t m_thread_id;
@@ -117,7 +117,7 @@
private:
bool
- ChooseFile (Target *target, FileSpec &file, CommandReturnObject &result);
+ GetDefaultFile (Target *target, FileSpec &file, CommandReturnObject &result);
CommandOptions m_options;
};