From 875926c2710b503c412def4d3217cc06a90b018a Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 24 Dec 2016 09:40:05 -0800 Subject: [PATCH] CONSOLE: Add connection debugging option and debugging descriptions --- sim_console.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/sim_console.c b/sim_console.c index 39c5fe25..bad64c90 100644 --- a/sim_console.c +++ b/sim_console.c @@ -185,17 +185,19 @@ UNIT sim_con_unit = { UDATA (&sim_con_poll_svc, UNIT_ATTABLE, 0) };/* console c #define DBG_RCV TMXR_DBG_RCV /* display Received Data */ #define DBG_RET TMXR_DBG_RET /* display Returned Received Data */ #define DBG_ASY TMXR_DBG_ASY /* asynchronous thread activity */ +#define DBG_CON TMXR_DBG_CON /* display connection activity */ #define DBG_EXP 0x00000001 /* Expect match activity */ #define DBG_SND 0x00000002 /* Send (Inject) data activity */ static DEBTAB sim_con_debug[] = { - {"TRC", DBG_TRC}, - {"XMT", DBG_XMT}, - {"RCV", DBG_RCV}, - {"RET", DBG_RET}, - {"ASY", DBG_ASY}, - {"EXP", DBG_EXP}, - {"SND", DBG_SND}, + {"TRC", DBG_TRC, "routine calls"}, + {"XMT", DBG_XMT, "Transmitted Data"}, + {"RCV", DBG_RCV, "Received Data"}, + {"RET", DBG_RET, "Returned Received Data"}, + {"ASY", DBG_ASY, "asynchronous activity"}, + {"CON", DBG_CON, "connection activity"}, + {"EXP", DBG_EXP, "Expect match activity"}, + {"SND", DBG_SND, "Send (Inject) data activity"}, {0} }; @@ -412,9 +414,10 @@ UNIT sim_rem_con_unit[2] = { { UDATA (&sim_rem_con_data_svc, UNIT_IDLE|UNIT_DIS, 0) }}; /* console data handling unit */ DEBTAB sim_rem_con_debug[] = { - {"TRC", DBG_TRC}, - {"XMT", DBG_XMT}, - {"RCV", DBG_RCV}, + {"TRC", DBG_TRC, "routine calls"}, + {"XMT", DBG_XMT, "Transmitted Data"}, + {"RCV", DBG_RCV, "Received Data"}, + {"CON", DBG_CON, "connection activity"}, {0} };