diff options
author | Michael Neuling <mikey@neuling.org> | 2018-06-19 15:25:32 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-06-25 15:10:41 +1000 |
commit | 2b861e33872327a313eda28c9bb3ebb809e36408 (patch) | |
tree | e647ddbd2e81d1e199eb3b0705386f2669b9160f /libpdbg | |
parent | bfed37b5eb3a762194d992399bb702498363ceda (diff) | |
download | pdbg-2b861e33872327a313eda28c9bb3ebb809e36408.tar.gz pdbg-2b861e33872327a313eda28c9bb3ebb809e36408.zip |
htm: Print dump file from library
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'libpdbg')
-rw-r--r-- | libpdbg/htm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpdbg/htm.c b/libpdbg/htm.c index b037997..da41e3f 100644 --- a/libpdbg/htm.c +++ b/libpdbg/htm.c @@ -924,6 +924,7 @@ static int do_htm_dump(struct htm *htm, uint64_t size, char *filename) if (size == 0) size = status.mem_last - status.mem_base; + printf("Dumping %" PRIi64 "i MB to %s\n", size >> 20, filename); if (status.mem_last - status.mem_base > size) { PR_INFO("Requested size is larger than trace 0x%" PRIx64" vs 0x%" PRIx64 "\n", size, status.mem_last - status.mem_base); |