Moved debug functions

svn path=/trunk/; revision=1107
This commit is contained in:
Eric Kohl 2000-04-06 17:23:52 +00:00
parent 9d90e8c107
commit e3ce7008d7
2 changed files with 21 additions and 15 deletions

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.31 2000/03/15 18:28:34 ekohl Exp $ # $Id: makefile,v 1.32 2000/04/06 17:23:26 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -26,7 +26,8 @@ all: $(DLLTARGET)
SYNCH_OBJECTS = synch/critical.o synch/event.o synch/wait.o synch/intrlck.o synch/timer.o SYNCH_OBJECTS = synch/critical.o synch/event.o synch/wait.o synch/intrlck.o synch/timer.o
MISC_OBJECTS = misc/error.o misc/atom.o misc/handle.o misc/env.o misc/dllmain.o \ MISC_OBJECTS = misc/error.o misc/atom.o misc/handle.o misc/env.o misc/dllmain.o \
misc/console.o misc/time.o misc/stubs.o misc/rtl.o misc/ldr.o misc/res.o misc/console.o misc/time.o misc/stubs.o misc/rtl.o misc/ldr.o misc/res.o \
misc/debug.o
FILE_OBJECTS = file/file.o file/curdir.o file/lfile.o file/dir.o \ FILE_OBJECTS = file/file.o file/curdir.o file/lfile.o file/dir.o \
file/iocompl.o file/volume.o file/deviceio.o file/dosdev.o \ file/iocompl.o file/volume.o file/deviceio.o file/dosdev.o \
@ -58,13 +59,10 @@ NLS_OBJECTS = nls/codepage.o nls/cpmisc.o nls/cptable.o\
THREAD_OBJECTS = thread/thread.o thread/tls.o THREAD_OBJECTS = thread/thread.o thread/tls.o
PROCESS_OBJECTS = process/proc.o process/cmdline.o process/create.o \ PROCESS_OBJECTS = process/proc.o process/cmdline.o process/create.o
process/lib.o
STRING_OBJECTS = string/lstring.o STRING_OBJECTS = string/lstring.o
INTERNAL_OBJECTS = internal/dprintf.o
EXCEPT_OBJECTS = except/except.o EXCEPT_OBJECTS = except/except.o
RESOURCE_OBJECT = $(TARGET).coff RESOURCE_OBJECT = $(TARGET).coff
@ -72,16 +70,15 @@ RESOURCE_OBJECT = $(TARGET).coff
OBJECTS = $(MISC_OBJECTS) $(FILE_OBJECTS) $(THREAD_OBJECTS) \ OBJECTS = $(MISC_OBJECTS) $(FILE_OBJECTS) $(THREAD_OBJECTS) \
$(PROCESS_OBJECTS) $(STRING_OBJECTS) $(MEM_OBJECTS) \ $(PROCESS_OBJECTS) $(STRING_OBJECTS) $(MEM_OBJECTS) \
$(INTERNAL_OBJECTS) $(SYNCH_OBJECTS) $(EXCEPT_OBJECTS) \ $(SYNCH_OBJECTS) $(EXCEPT_OBJECTS) $(RESOURCE_OBJECT)
$(RESOURCE_OBJECT)
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)
CLEAN_FILES = except\*.o file\*.o internal\*.o mem\*.o misc\*.o nls\*.o \ CLEAN_FILES = except\*.o file\*.o mem\*.o misc\*.o nls\*.o \
process\*.o string\*.o synch\*.o thread\*.o \ process\*.o string\*.o synch\*.o thread\*.o \
$(TARGET).o $(TARGET).a junk.tmp base.tmp temp.exp \ $(TARGET).o $(TARGET).a junk.tmp base.tmp temp.exp \
$(TARGET).dll $(TARGET).sym $(TARGET).coff $(TARGET).dll $(TARGET).sym $(TARGET).coff
else else
CLEAN_FILES = except/*.o file/*.o internal/*.o mem/*.o misc/*.o nls/*.o \ CLEAN_FILES = except/*.o file/*.o mem/*.o misc/*.o nls/*.o \
process/*.o string/*.o synch/*.o thread/*.o \ process/*.o string/*.o synch/*.o thread/*.o \
$(TARGET).o $(TARGET).a junk.tmp base.tmp temp.exp \ $(TARGET).o $(TARGET).a junk.tmp base.tmp temp.exp \
$(TARGET).dll $(TARGET).sym $(TARGET).coff $(TARGET).dll $(TARGET).sym $(TARGET).coff

View file

@ -1,8 +1,21 @@
/* $Id: debug.c,v 1.1 2000/04/06 17:23:06 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* FILE: lib/kernel32/misc/debug.c
* PURPOSE: Win32 server console functions
* PROGRAMMER: ???
*/
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <windows.h> #include <windows.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
/* FUNCTIONS *****************************************************************/
/* /*
* NOTE: Don't call DbgService()! * NOTE: Don't call DbgService()!
* It's a ntdll internal function and is NOT exported! * It's a ntdll internal function and is NOT exported!
@ -31,8 +44,4 @@ VOID STDCALL OutputDebugStringW(LPCWSTR lpOutputString)
DbgPrint( AnsiString.Buffer ); DbgPrint( AnsiString.Buffer );
} }
/* EOF */