From fab10e89cea94df0c8aa75cc6a7a0ced7330b587 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 6 Mar 2012 00:37:27 +0000 Subject: Add a command and an SB API to create exception breakpoints. Make the break output prettier for Exception breakpoints. llvm-svn: 152081 --- lldb/source/Commands/CommandObjectBreakpoint.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectBreakpoint.h') diff --git a/lldb/source/Commands/CommandObjectBreakpoint.h b/lldb/source/Commands/CommandObjectBreakpoint.h index b032319d167..df96b04c66a 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.h +++ b/lldb/source/Commands/CommandObjectBreakpoint.h @@ -58,7 +58,8 @@ public: eSetTypeAddress, eSetTypeFunctionName, eSetTypeFunctionRegexp, - eSetTypeSourceRegexp + eSetTypeSourceRegexp, + eSetTypeException } BreakpointSetType; CommandObjectBreakpointSet (CommandInterpreter &interpreter); @@ -101,7 +102,7 @@ public: uint32_t m_line_num; uint32_t m_column; bool m_check_inlines; - std::string m_func_name; + std::vector 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 @@ public: 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; }; -- cgit v1.2.3