summaryrefslogtreecommitdiffstats
path: root/src/H5Fdbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fdbg.c')
-rw-r--r--src/H5Fdbg.c90
1 files changed, 45 insertions, 45 deletions
diff --git a/src/H5Fdbg.c b/src/H5Fdbg.c
index f425820..2d22efa 100644
--- a/src/H5Fdbg.c
+++ b/src/H5Fdbg.c
@@ -64,55 +64,55 @@ H5F_debug(H5F_t *f, FILE *stream, int indent, int fwidth)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get userblock size")
/* debug */
- HDfprintf(stream, "%*sFile Super Block...\n", indent, "");
+ fprintf(stream, "%*sFile Super Block...\n", indent, "");
- HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth, "File name (as opened):", H5F_OPEN_NAME(f));
- HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
- "File name (after resolving symlinks):", H5F_ACTUAL_NAME(f));
- HDfprintf(stream, "%*s%-*s 0x%08x\n", indent, "", fwidth, "File access flags", f->shared->flags);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth, "File open reference count:", f->shared->nrefs);
- HDfprintf(stream, "%*s%-*s %" PRIuHADDR " (abs)\n", indent, "", fwidth,
- "Address of super block:", f->shared->sblock->base_addr);
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE " bytes\n", indent, "", fwidth,
- "Size of userblock:", userblock_size);
+ fprintf(stream, "%*s%-*s %s\n", indent, "", fwidth, "File name (as opened):", H5F_OPEN_NAME(f));
+ fprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
+ "File name (after resolving symlinks):", H5F_ACTUAL_NAME(f));
+ fprintf(stream, "%*s%-*s 0x%08x\n", indent, "", fwidth, "File access flags", f->shared->flags);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth, "File open reference count:", f->shared->nrefs);
+ fprintf(stream, "%*s%-*s %" PRIuHADDR " (abs)\n", indent, "", fwidth,
+ "Address of super block:", f->shared->sblock->base_addr);
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE " bytes\n", indent, "", fwidth,
+ "Size of userblock:", userblock_size);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Superblock version number:", f->shared->sblock->super_vers);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Superblock version number:", f->shared->sblock->super_vers);
/* Hard-wired versions */
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Free list version number:", (unsigned)HDF5_FREESPACE_VERSION);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Root group symbol table entry version number:", (unsigned)HDF5_OBJECTDIR_VERSION);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Shared header version number:", (unsigned)HDF5_SHAREDHEADER_VERSION);
-
- HDfprintf(stream, "%*s%-*s %u bytes\n", indent, "", fwidth,
- "Size of file offsets (haddr_t type):", (unsigned)f->shared->sizeof_addr);
- HDfprintf(stream, "%*s%-*s %u bytes\n", indent, "", fwidth,
- "Size of file lengths (hsize_t type):", (unsigned)f->shared->sizeof_size);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Symbol table leaf node 1/2 rank:", f->shared->sblock->sym_leaf_k);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Symbol table internal node 1/2 rank:", f->shared->sblock->btree_k[H5B_SNODE_ID]);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Indexed storage internal node 1/2 rank:", f->shared->sblock->btree_k[H5B_CHUNK_ID]);
- HDfprintf(stream, "%*s%-*s 0x%02x\n", indent, "", fwidth,
- "File status flags:", (unsigned)(f->shared->sblock->status_flags));
- HDfprintf(stream, "%*s%-*s %" PRIuHADDR " (rel)\n", indent, "", fwidth,
- "Superblock extension address:", f->shared->sblock->ext_addr);
- HDfprintf(stream, "%*s%-*s %" PRIuHADDR " (rel)\n", indent, "", fwidth,
- "Shared object header message table address:", f->shared->sohm_addr);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Shared object header message version number:", (unsigned)f->shared->sohm_vers);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Number of shared object header message indexes:", (unsigned)f->shared->sohm_nindexes);
-
- HDfprintf(stream, "%*s%-*s %" PRIuHADDR " (rel)\n", indent, "", fwidth,
- "Address of driver information block:", f->shared->sblock->driver_addr);
-
- HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
- "Root group symbol table entry:", f->shared->root_grp ? "" : "(none)");
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Free list version number:", (unsigned)HDF5_FREESPACE_VERSION);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Root group symbol table entry version number:", (unsigned)HDF5_OBJECTDIR_VERSION);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Shared header version number:", (unsigned)HDF5_SHAREDHEADER_VERSION);
+
+ fprintf(stream, "%*s%-*s %u bytes\n", indent, "", fwidth,
+ "Size of file offsets (haddr_t type):", (unsigned)f->shared->sizeof_addr);
+ fprintf(stream, "%*s%-*s %u bytes\n", indent, "", fwidth,
+ "Size of file lengths (hsize_t type):", (unsigned)f->shared->sizeof_size);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Symbol table leaf node 1/2 rank:", f->shared->sblock->sym_leaf_k);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Symbol table internal node 1/2 rank:", f->shared->sblock->btree_k[H5B_SNODE_ID]);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Indexed storage internal node 1/2 rank:", f->shared->sblock->btree_k[H5B_CHUNK_ID]);
+ fprintf(stream, "%*s%-*s 0x%02x\n", indent, "", fwidth,
+ "File status flags:", (unsigned)(f->shared->sblock->status_flags));
+ fprintf(stream, "%*s%-*s %" PRIuHADDR " (rel)\n", indent, "", fwidth,
+ "Superblock extension address:", f->shared->sblock->ext_addr);
+ fprintf(stream, "%*s%-*s %" PRIuHADDR " (rel)\n", indent, "", fwidth,
+ "Shared object header message table address:", f->shared->sohm_addr);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Shared object header message version number:", (unsigned)f->shared->sohm_vers);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Number of shared object header message indexes:", (unsigned)f->shared->sohm_nindexes);
+
+ fprintf(stream, "%*s%-*s %" PRIuHADDR " (rel)\n", indent, "", fwidth,
+ "Address of driver information block:", f->shared->sblock->driver_addr);
+
+ fprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
+ "Root group symbol table entry:", f->shared->root_grp ? "" : "(none)");
if (f->shared->root_grp) {
if (f->shared->sblock->root_ent) /* Use real root group symbol table entry */
H5G__ent_debug(f->shared->sblock->root_ent, stream, indent + 3, MAX(0, fwidth - 3), NULL);