mirror of
https://github.com/reactos/reactos.git
synced 2024-06-25 23:41:35 +00:00
[NTOS:KD] Remove GDB stubs
drivers/base/kdgdb/ should be used instead.
This commit is contained in:
parent
083cf05f7b
commit
0e391eecd1
|
@ -6,7 +6,6 @@
|
||||||
// Kernel Debugger Port Definition
|
// Kernel Debugger Port Definition
|
||||||
//
|
//
|
||||||
struct _KD_DISPATCH_TABLE;
|
struct _KD_DISPATCH_TABLE;
|
||||||
extern CPPORT GdbPortInfo;
|
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
|
@ -161,12 +160,6 @@ KdpBochsInit(
|
||||||
ULONG BootPhase
|
ULONG BootPhase
|
||||||
);
|
);
|
||||||
|
|
||||||
VOID
|
|
||||||
NTAPI
|
|
||||||
KdpGdbStubInit(
|
|
||||||
struct _KD_DISPATCH_TABLE *DispatchTable,
|
|
||||||
ULONG BootPhase);
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
KdpKdbgInit(
|
KdpKdbgInit(
|
||||||
|
@ -228,7 +221,6 @@ typedef struct _KDP_DEBUG_MODE
|
||||||
|
|
||||||
/* Currently Supported Wrappers */
|
/* Currently Supported Wrappers */
|
||||||
UCHAR Pice :1;
|
UCHAR Pice :1;
|
||||||
UCHAR Gdb :1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Generic Value */
|
/* Generic Value */
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
/*
|
|
||||||
* PROJECT: ReactOS Kernel
|
|
||||||
* LICENSE: GPL - See COPYING in the top level directory
|
|
||||||
* FILE: ntoskrnl/kd/amd64/kd.c
|
|
||||||
* PURPOSE: Routines for CPU-level support
|
|
||||||
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
|
||||||
|
|
||||||
#include <ntoskrnl.h>
|
|
||||||
#define NDEBUG
|
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
|
||||||
|
|
||||||
VOID
|
|
||||||
NTAPI
|
|
||||||
KdpGdbStubInit(PKD_DISPATCH_TABLE WrapperTable,
|
|
||||||
ULONG BootPhase)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
|
@ -106,19 +106,6 @@ KdpGetDebugMode(PCHAR Currentp2)
|
||||||
p2 += 5;
|
p2 += 5;
|
||||||
KdpDebugMode.Bochs = TRUE;
|
KdpDebugMode.Bochs = TRUE;
|
||||||
}
|
}
|
||||||
/* Check for GDB Debugging */
|
|
||||||
else if (!_strnicmp(p2, "GDB", 3))
|
|
||||||
{
|
|
||||||
/* Enable it */
|
|
||||||
p2 += 3;
|
|
||||||
KdpDebugMode.Gdb = TRUE;
|
|
||||||
|
|
||||||
/* Enable Debugging */
|
|
||||||
KdDebuggerNotPresent = FALSE;
|
|
||||||
KdDebuggerEnabled = TRUE;
|
|
||||||
SharedUserData->KdDebuggerEnabled = TRUE;
|
|
||||||
WrapperInitRoutine = KdpGdbStubInit;
|
|
||||||
}
|
|
||||||
/* Check for PICE Debugging */
|
/* Check for PICE Debugging */
|
||||||
else if (!_strnicmp(p2, "PICE", 4))
|
else if (!_strnicmp(p2, "PICE", 4))
|
||||||
{
|
{
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -374,8 +374,7 @@ endif()
|
||||||
if(NOT _WINKD_)
|
if(NOT _WINKD_)
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/i386/kdbg.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/i386/kdbg.c)
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/wrappers/gdbstub.c)
|
|
||||||
if(KDBG)
|
if(KDBG)
|
||||||
list(APPEND ASM_SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/i386/kdb_help.S)
|
list(APPEND ASM_SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/i386/kdb_help.S)
|
||||||
list(APPEND SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/i386/i386-dis.c)
|
list(APPEND SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kdbg/i386/i386-dis.c)
|
||||||
|
@ -392,8 +391,6 @@ if(NOT _WINKD_)
|
||||||
endif()
|
endif()
|
||||||
elseif(ARCH STREQUAL "arm")
|
elseif(ARCH STREQUAL "arm")
|
||||||
list(APPEND SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/arm/kdbg.c)
|
list(APPEND SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/arm/kdbg.c)
|
||||||
elseif(ARCH STREQUAL "powerpc")
|
|
||||||
list(APPEND SOURCE ${REACTOS_SOURCE_DIR}/ntoskrnl/kd/wrappers/gdbstub_powerpc.c)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(KDBG)
|
if(KDBG)
|
||||||
|
|
Loading…
Reference in a new issue