diff options
author | midipix <writeonce@midipix.org> | 2019-05-27 23:45:19 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-05-28 00:00:09 +0000 |
commit | 7969fcf6dbdc4920383a1538c1ca9ba5f1ba0902 (patch) | |
tree | d11005b507f649d2a08af14a8664c97e7224b64c | |
parent | bf05bd32769d10450473e769c470d384f0ae6485 (diff) | |
download | ntapi-7969fcf6dbdc4920383a1538c1ca9ba5f1ba0902.tar.bz2 ntapi-7969fcf6dbdc4920383a1538c1ca9ba5f1ba0902.tar.xz |
struct _nt_tty_log_info, __log_exception_to_server(): report priority.
-rw-r--r-- | include/ntapi/nt_tty.h | 2 | ||||
-rw-r--r-- | src/debug/ntapi_tt_debug_execution_flow.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |