diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libfs/ChangeLog | 8 | ||||
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_debug.c | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog index 5dc5dbf9c1..ef8ce14bb2 100644 --- a/cpukit/libfs/ChangeLog +++ b/cpukit/libfs/ChangeLog @@ -1,3 +1,11 @@ +2001-04-20 Joel Sherrill <joel@OARcorp.com> + + * src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print + only information that does not vary based on target or memory + configuration. The old prints are still there in case they + are needed in the future to debug. Printing target dependent + addresses makes the test output vary by target unnecessarily. + 2001-03-23 Joel Sherrill <joel@OARcorp.com> * src/imfs/memfile.c: Reapply fix from bug report from diff --git a/cpukit/libfs/src/imfs/imfs_debug.c b/cpukit/libfs/src/imfs/imfs_debug.c index c3b56dfb0b..f852c81d8b 100644 --- a/cpukit/libfs/src/imfs/imfs_debug.c +++ b/cpukit/libfs/src/imfs/imfs_debug.c @@ -73,12 +73,17 @@ void IMFS_print_jnode( break; case IMFS_MEMORY_FILE: + /* Useful when debugging .. varies between targets */ +#if 0 printf( " (file %d %p %p %p)", (int)the_jnode->info.file.size, the_jnode->info.file.indirect, the_jnode->info.file.doubly_indirect, the_jnode->info.file.triply_indirect ); +#else + printf( " (file %d)", (int)the_jnode->info.file.size ); +#endif break; case IMFS_HARD_LINK: |