diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-25 14:38:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-25 14:38:42 +0000 |
commit | 2a75b2d7b6eb3d1281db4a1679da78ce16a7f857 (patch) | |
tree | 746a95d7c32ff211c46a6f3883407788788f066c /nuttx/binfmt | |
parent | 2860494ece7d765930d4a242aa2463318ecbf1ae (diff) | |
download | px4-nuttx-2a75b2d7b6eb3d1281db4a1679da78ce16a7f857.tar.gz px4-nuttx-2a75b2d7b6eb3d1281db4a1679da78ce16a7f857.tar.bz2 px4-nuttx-2a75b2d7b6eb3d1281db4a1679da78ce16a7f857.zip |
Fix debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1948 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r-- | nuttx/binfmt/nxflat.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/binfmt/nxflat.c b/nuttx/binfmt/nxflat.c index 534f18cae..6e9d54c84 100644 --- a/nuttx/binfmt/nxflat.c +++ b/nuttx/binfmt/nxflat.c @@ -115,6 +115,11 @@ static void nxflat_dumploadinfo(struct nxflat_loadinfo_s *loadinfo) bdbg(" DSPACE:\n"); bdbg(" dspace: %08lx\n", loadinfo->dspace); + if (oadinfo->dspace != NULL) + { + bdbg(" crefs: %d\n", loadinfo->dspace->crefs); + bdbg(" region: %08lx\n", loadinfo->dspace->region); + } bdbg(" datasize: %08lx\n", loadinfo->datasize); bdbg(" bsssize: %08lx\n", loadinfo->bsssize); bdbg(" (pad): %08lx\n", loadinfo->dsize - dsize); @@ -123,7 +128,7 @@ static void nxflat_dumploadinfo(struct nxflat_loadinfo_s *loadinfo) bdbg(" RELOCS:\n"); bdbg(" relocstart: %08lx\n", loadinfo->relocstart); - bdbg(" reloccount: %04lx\n", loadinfo->reloccount); + bdbg(" reloccount: %d\n", loadinfo->reloccount); bdbg(" HANDLES:\n"); bdbg(" filfd: %d\n", loadinfo->filfd); |