summaryrefslogtreecommitdiff
path: root/lib/ccdbg-command.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-12-20 23:30:06 -0800
committerKeith Packard <keithp@keithp.com>2008-12-20 23:30:06 -0800
commitf7d49868aeae80d515b12a7e339628f1296754a6 (patch)
tree9c319fdf24e8f919df2b8466187f06c0ab81b76c /lib/ccdbg-command.c
parent30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb (diff)
Cleanup work; separating out the cp interface to be more abstract.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'lib/ccdbg-command.c')
-rw-r--r--lib/ccdbg-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ccdbg-command.c b/lib/ccdbg-command.c
index 38c006cb..30f5094d 100644
--- a/lib/ccdbg-command.c
+++ b/lib/ccdbg-command.c
@@ -174,9 +174,9 @@ ccdbg_execute_hex_image(struct ccdbg *dbg, struct hex_image *image)
ccdbg_write_hex_image(dbg, image, 0);
ccdbg_set_pc(dbg, image->address);
pc = ccdbg_get_pc(dbg);
- printf ("pc starts at 0x%04x\n", pc);
+ ccdbg_debug(CC_DEBUG_EXECUTE, "pc starts at 0x%04x\n", pc);
status = ccdbg_resume(dbg);
- printf ("resume status: 0x%02x\n", status);
+ ccdbg_debug(CC_DEBUG_EXECUTE, "resume status: 0x%02x\n", status);
return 0;
}