Updated for change in the debug mode.

Switched to kernel_cpp.cpp/h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6294 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-01-25 15:04:20 +00:00
parent 67a14a5ee7
commit 6fbc2b70db
2 changed files with 13 additions and 6 deletions
@@ -50,9 +50,9 @@
// D()
// the statements in D() are only included if DEBUG is defined
#include <KernelExport.h>
#define kprintf printf
#define dprintf printf
#include <KernelExport.h>
#define kprintf printf
#define dprintf printf
#ifdef DEBUG
#define PRINT(x) { __out("bfs: "); __out x; }
@@ -95,6 +95,9 @@
extern void dump_bplustree_header(bplustree_header *header);
extern void dump_bplustree_node(bplustree_node *node,bplustree_header *header = NULL,Volume *volume = NULL);
extern void dump_block(const char *buffer, int size);
extern void add_debugger_commands();
extern void remove_debugger_commands();
#endif
#endif /* DEBUG_H */
@@ -3,6 +3,7 @@ SubDir OBOS_TOP src tests add-ons kernel file_systems bfs bfs_shell ;
SubDirHdrs $(OBOS_TOP) src tests add-ons kernel file_systems fs_shell ;
SubDirHdrs $(OBOS_TOP) src add-ons kernel file_systems bfs ;
UsePrivateHeaders [ FDirName kernel util ] ; # For kernel_cpp.cpp
{
# set CHECK_MALLOC to something when doing tests against memory corruption
@@ -20,14 +21,13 @@ SubDirHdrs $(OBOS_TOP) src add-ons kernel file_systems bfs ;
SubDirC++Flags $(defines) -fno-exceptions -fno-rtti $(malloc_debug_flags) ;
}
SimpleTest bfs_shell
:
SimpleTest bfs_shell :
fsh.c rootfs.c initfs.c kernel.c cache.c sl.c stub.c tracker.cpp
sysdep.c hexdump.c argv.c
Volume.cpp BPlusTree.cpp Inode.cpp Index.cpp Query.cpp Journal.cpp
BlockAllocator.cpp kernel_interface.cpp Utility.cpp BufferPool.cpp
Debug.cpp cpp.cpp
Debug.cpp kernel_cpp.cpp
:
;
@@ -38,6 +38,10 @@ SEARCH on [ FGristFiles
Debug.cpp cpp.cpp
] = [ FDirName $(OBOS_TOP) src add-ons kernel file_systems bfs ] ;
SEARCH on [ FGristFiles
kernel_cpp.cpp
] = [ FDirName $(OBOS_TOP) src kernel core util ] ;
SEARCH on [ FGristFiles
fsh.c rootfs.c initfs.c kernel.c cache.c sl.c stub.c tracker.cpp
sysdep.c hexdump.c argv.c