summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-20 13:27:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-20 13:27:24 +0000
commit5346276237be6d96ec65ac3b5764fce19814e1ba (patch)
treeec6944acbfdf249518a240e0651e229d4a03ca81 /cpukit
parent2001-04-20 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-5346276237be6d96ec65ac3b5764fce19814e1ba.tar.bz2
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.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libfs/ChangeLog8
-rw-r--r--cpukit/libfs/src/imfs/imfs_debug.c5
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: