mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 04:08:29 +00:00
added /KDNOECHO parameter to disable serial echo by default in kdgb
svn path=/trunk/; revision=8355
This commit is contained in:
parent
f276f1c016
commit
7db5e43a17
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: kdb.c,v 1.17 2004/01/17 17:13:13 arty Exp $
|
||||
/* $Id: kdb.c,v 1.18 2004/02/24 21:25:40 weiden Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/dbg/kdb.c
|
||||
|
@ -206,7 +206,9 @@ KdbGetCommand(PCH Buffer)
|
|||
{
|
||||
CHAR Key;
|
||||
PCH Orig = Buffer;
|
||||
|
||||
|
||||
KbdEchoOn = !((KdDebugState & KD_DEBUG_KDNOECHO) != 0);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
if (KdDebugState & KD_DEBUG_KDSERIAL)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: kd.h,v 1.22 2004/01/17 17:13:13 arty Exp $
|
||||
/* $Id: kd.h,v 1.23 2004/02/24 21:25:41 weiden Exp $
|
||||
*
|
||||
* kernel debugger prototypes
|
||||
*/
|
||||
|
@ -19,6 +19,7 @@
|
|||
#define KD_DEBUG_MDA 0x40
|
||||
#define KD_DEBUG_KDB 0x80
|
||||
#define KD_DEBUG_KDSERIAL 0x100
|
||||
#define KD_DEBUG_KDNOECHO 0x200
|
||||
|
||||
extern ULONG KdDebugState;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: kdebug.c,v 1.50 2004/01/05 14:28:20 weiden Exp $
|
||||
/* $Id: kdebug.c,v 1.51 2004/02/24 21:25:41 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -160,6 +160,12 @@ KdInitSystem(ULONG Reserved,
|
|||
KdDebuggerEnabled = TRUE;
|
||||
KdDebugState |= KD_DEBUG_SERIAL | KD_DEBUG_KDSERIAL;
|
||||
}
|
||||
else if (!_strnicmp(p2, "KDNOECHO", 8))
|
||||
{
|
||||
p2 += 8;
|
||||
KdDebuggerEnabled = TRUE;
|
||||
KdDebugState |= KD_DEBUG_KDNOECHO;
|
||||
}
|
||||
else if (!_strnicmp(p2, "DEBUG", 5))
|
||||
{
|
||||
p2 += 5;
|
||||
|
|
Loading…
Reference in a new issue