summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-05-27 23:45:19 +0000
committermidipix <writeonce@midipix.org>2019-05-28 00:00:09 +0000
commit7969fcf6dbdc4920383a1538c1ca9ba5f1ba0902 (patch)
treed11005b507f649d2a08af14a8664c97e7224b64c
parentbf05bd32769d10450473e769c470d384f0ae6485 (diff)
downloadntapi-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.h2
-rw-r--r--src/debug/ntapi_tt_debug_execution_flow.c2
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;