Skip to content

Commit d72700a

Browse files
authored
Merge pull request #1927 from dcci/myexception
apple-llvm-split-commit: 61a3b6de33461a7db1ccc44e570fa885c1bc6362 apple-llvm-split-dir: lldb/
2 parents 7a45693 + 472afba commit d72700a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lldb/source/Plugins/Process/Darwin/MachException.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ extern "C" kern_return_t catch_mach_exception_raise_state(
6565
mach_msg_type_number_t old_stateCnt, thread_state_t new_state,
6666
mach_msg_type_number_t *new_stateCnt) {
6767
// TODO change to LIBLLDB_LOG_EXCEPTION
68-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
68+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
6969
if (log) {
7070
log->Printf("::%s(exc_port = 0x%4.4x, exc_type = %d (%s), "
7171
"exc_data = 0x%llx, exc_data_count = %d)",
@@ -81,7 +81,7 @@ extern "C" kern_return_t catch_mach_exception_raise_state_identity(
8181
mach_msg_type_number_t exc_data_count, int *flavor,
8282
thread_state_t old_state, mach_msg_type_number_t old_stateCnt,
8383
thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) {
84-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
84+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
8585
if (log) {
8686
log->Printf("::%s(exc_port = 0x%4.4x, thd_port = 0x%4.4x, "
8787
"tsk_port = 0x%4.4x, exc_type = %d (%s), exc_data[%d] = "
@@ -100,7 +100,7 @@ catch_mach_exception_raise(mach_port_t exc_port, mach_port_t thread_port,
100100
mach_port_t task_port, exception_type_t exc_type,
101101
mach_exception_data_t exc_data,
102102
mach_msg_type_number_t exc_data_count) {
103-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
103+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
104104
if (log) {
105105
log->Printf("::%s(exc_port = 0x%4.4x, thd_port = 0x%4.4x, "
106106
"tsk_port = 0x%4.4x, exc_type = %d (%s), exc_data[%d] "
@@ -278,7 +278,7 @@ Status MachException::Message::Reply(::pid_t inferior_pid, task_t inferior_task,
278278
// Reply to the exception...
279279
Status error;
280280

281-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
281+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
282282

283283
// If we had a soft signal, we need to update the thread first so it can
284284
// continue without signaling
@@ -435,7 +435,7 @@ Status MachException::PortInfo::Save(task_t task) {
435435
Status MachException::PortInfo::Restore(task_t task) {
436436
Status error;
437437

438-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
438+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
439439

440440
if (log)
441441
log->Printf("MachException::PortInfo::Restore(task = 0x%4.4x)", task);

0 commit comments

Comments
 (0)