projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* sim/ucsim/cmd.src/info.cc, sim/ucsim/cmd.src/bp.cc,
[fw/sdcc]
/
sim
/
ucsim
/
cmd.src
/
bp.cc
diff --git
a/sim/ucsim/cmd.src/bp.cc
b/sim/ucsim/cmd.src/bp.cc
index bc31d24bf20f36e2e9f4ef0cb77bdc8f46fc9b3c..202eb17d8abd70e6e99b832f1eaceaad49032784 100644
(file)
--- a/
sim/ucsim/cmd.src/bp.cc
+++ b/
sim/ucsim/cmd.src/bp.cc
@@
-2,7
+2,7
@@
* Simulator of microcontrollers (cmd.src/bp.cc)
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
* Simulator of microcontrollers (cmd.src/bp.cc)
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
- *
+ *
* To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
*
*/
* To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
*
*/
@@
-107,9
+107,9
@@
cl_break_cmd::do_fetch(class cl_uc *uc,
addr, perm, hit);
b->init();
uc->fbrk->add_bp(b);
addr, perm, hit);
b->init();
uc->fbrk->add_bp(b);
- char *s= uc->disass(addr, NULL);
+ c
onst c
har *s= uc->disass(addr, NULL);
con->dd_printf("Breakpoint %d at 0x%06x: %s\n", b->nr, addr, s);
con->dd_printf("Breakpoint %d at 0x%06x: %s\n", b->nr, addr, s);
- free(s);
+ free(
(char *)
s);
}
}
}
}