https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8c0c2e2be7c93b0e6ce98…
commit 8c0c2e2be7c93b0e6ce9879dcb6aaa557b5b92d3
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Aug 29 22:32:29 2023 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Aug 30 12:24:36 2023 +0200
[NTOS:KDBG] Temporarily HACK-remove the duplicated kdb:> when displaying the
interactive KDBG prompt.
---
ntoskrnl/kdbg/kdb_cli.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ntoskrnl/kdbg/kdb_cli.c b/ntoskrnl/kdbg/kdb_cli.c
index cc7aece3d9e..50d484accd1 100644
--- a/ntoskrnl/kdbg/kdb_cli.c
+++ b/ntoskrnl/kdbg/kdb_cli.c
@@ -3299,7 +3299,8 @@ KdbpCliMainLoop(
* Repeat the last one if the user pressed Enter.
* This reduces the risk of RSI when single-stepping!
*/
- CmdLen = KdbPrompt(KdbPromptStr.Buffer, Command, sizeof(Command));
+ // TEMP HACK! Issue an empty string instead of duplicating "kdb:>"
+ CmdLen = KdbPrompt(/*KdbPromptStr.Buffer*/"", Command,
sizeof(Command));
if (CmdLen == 0)
{
/* Nothing received but the user didn't press Enter, retry */