projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e8c4563
)
Fix error when specifying start address in CLI version
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 26 Jan 2014 20:09:20 +0000
(15:09 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 26 Jan 2014 20:09:23 +0000
(15:09 -0500)
Start address was specified as "0x0000", but need to be "0000".
src/cli/emuconsole.c
patch
|
blob
|
history
diff --git
a/src/cli/emuconsole.c
b/src/cli/emuconsole.c
index
8cfbcae
..
1c88935
100644
(file)
--- a/
src/cli/emuconsole.c
+++ b/
src/cli/emuconsole.c
@@
-277,7
+277,7
@@
console_main(void)
if (options.stop_address != 0) {
/* Automatically run program and stop at specified address. */
- console_exec("0
x0
000", NULL);
+ console_exec("0000", NULL);
console_show_registers();
QuitRequest = 1;
} else {