projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos]
/
ao-tools
/
ao-dbg
/
ao-dbg-parse.c
diff --git
a/ao-tools/ao-dbg/ao-dbg-parse.c
b/ao-tools/ao-dbg/ao-dbg-parse.c
index 5db6c01c1e9dc2bbc3bb7fe3649537c52df63dfc..825d0e9c74972d72bf809ed69c0d42e0624af89f 100644
(file)
--- 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;
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);
exit(1);
- }
ccdbg_debug_mode(s51_dbg);
ccdbg_halt(s51_dbg);
s51_printf("Welcome to the non-simulated processor\n");
ccdbg_debug_mode(s51_dbg);
ccdbg_halt(s51_dbg);
s51_printf("Welcome to the non-simulated processor\n");