- Enhanced internal variables framework (including read/save to
registry and typing)
- Finalized use of Windows' Console I/O interface (instead of Unix std
streams)
- Now handling registers as internal variables (they are no longer
seen as a specific type)
diff --git a/debugger/info.c b/debugger/info.c
index bd6abee..52615b6 100644
--- a/debugger/info.c
+++ b/debugger/info.c
@@ -6,7 +6,6 @@
*/
#include "config.h"
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "winbase.h"
@@ -92,22 +91,21 @@
char* str = (char*)(long)res;
for (; DEBUG_READ_MEM(str, &ch, 1) && ch; str++) {
- fputc(ch, stderr);
+ DEBUG_Output(DBG_CHN_MESG, &ch, 1);
DEBUG_nchar++;
}
}
else
{
/* shouldn't happen */
- fputc('%', stderr);
- fputc(*ptr, stderr);
+ DEBUG_Printf(DBG_CHN_MESG, "%%%c", *ptr);
DEBUG_nchar += 2;
}
state = 0;
}
else
{
- fputc(*ptr, stderr);
+ DEBUG_Output(DBG_CHN_MESG, ptr, 1);
DEBUG_nchar++;
}
}