Add a command and an SB API to create exception breakpoints. Make the break output prettier for Exception breakpoints.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152081 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectBreakpoint.h b/source/Commands/CommandObjectBreakpoint.h
index b032319..df96b04 100644
--- a/source/Commands/CommandObjectBreakpoint.h
+++ b/source/Commands/CommandObjectBreakpoint.h
@@ -58,7 +58,8 @@
eSetTypeAddress,
eSetTypeFunctionName,
eSetTypeFunctionRegexp,
- eSetTypeSourceRegexp
+ eSetTypeSourceRegexp,
+ eSetTypeException
} BreakpointSetType;
CommandObjectBreakpointSet (CommandInterpreter &interpreter);
@@ -101,7 +102,7 @@
uint32_t m_line_num;
uint32_t m_column;
bool m_check_inlines;
- std::string m_func_name;
+ std::vector<std::string> m_func_names;
uint32_t m_func_name_type_mask;
std::string m_func_regexp;
std::string m_source_text_regexp;
@@ -112,6 +113,9 @@
uint32_t m_thread_index;
std::string m_thread_name;
std::string m_queue_name;
+ bool m_catch_bp;
+ bool m_throw_bp;
+ lldb::LanguageType m_language;
};