summaryrefslogtreecommitdiff
path: root/ao-tools/ao-dbg/ao-dbg-parse.c
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2009-08-18 18:09:59 -0600
committerBdale Garbee <bdale@gag.com>2009-08-18 18:09:59 -0600
commit7fcbe76ce82ec5a17cf536afa0d1b9061e225aa9 (patch)
tree74a2ed5f7f116f9656c74beb62888050abb071f7 /ao-tools/ao-dbg/ao-dbg-parse.c
parent035ba6df17f016953351bc77a98623c165b69909 (diff)
parent4685fc541466afbeefc151bcb64cd054739c048b (diff)
Merge branch 'master' into debian
Diffstat (limited to 'ao-tools/ao-dbg/ao-dbg-parse.c')
-rw-r--r--ao-tools/ao-dbg/ao-dbg-parse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ao-tools/ao-dbg/ao-dbg-parse.c b/ao-tools/ao-dbg/ao-dbg-parse.c
index 5db6c01c..825d0e9c 100644
--- a/ao-tools/ao-dbg/ao-dbg-parse.c
+++ b/ao-tools/ao-dbg/ao-dbg-parse.c
@@ -195,11 +195,9 @@ command_read (void)
enum command_result result;
struct command_function *func;
- s51_dbg = ccdbg_open ();
- if (!s51_dbg) {
- perror("ccdbg_open");
+ s51_dbg = ccdbg_open (s51_tty);
+ if (!s51_dbg)
exit(1);
- }
ccdbg_debug_mode(s51_dbg);
ccdbg_halt(s51_dbg);
s51_printf("Welcome to the non-simulated processor\n");