From 7969fcf6dbdc4920383a1538c1ca9ba5f1ba0902 Mon Sep 17 00:00:00 2001 From: midipix Date: May 28 2019 00:00:09 +0000 Subject: struct _nt_tty_log_info, __log_exception_to_server(): report priority. --- diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h index de90ef4..58d9521 100644 --- a/include/ntapi/nt_tty.h +++ b/include/ntapi/nt_tty.h @@ -275,7 +275,7 @@ typedef struct __attr_ptr_size_aligned__ _nt_tty_sigctl_info { typedef struct __attr_ptr_size_aligned__ _nt_tty_log_info { int32_t type; - uint32_t reserved; + uint32_t meta; nt_cid cid; uint32_t data[0x30]; } nt_tty_log_info; diff --git a/src/debug/ntapi_tt_debug_execution_flow.c b/src/debug/ntapi_tt_debug_execution_flow.c index 5bf4e6c..f4e9f1c 100644 --- a/src/debug/ntapi_tt_debug_execution_flow.c +++ b/src/debug/ntapi_tt_debug_execution_flow.c @@ -24,7 +24,7 @@ static int32_t __log_exception_to_server( msg.header.msg_size = sizeof(msg); msg.data.ttyinfo.opcode = NT_TTY_LOG_ENTRY; msg.data.loginfo.type = NT_TTY_LOG_INFO_EXCEPTION_RECORD; - msg.data.loginfo.reserved = 0; + msg.data.loginfo.meta = dbgstate->_u.exception_info.exception_priority; msg.data.loginfo.cid.process_id = dbgstate->cid.process_id; msg.data.loginfo.cid.thread_id = dbgstate->cid.thread_id;