projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug fixes
[fw/sdcc]
/
sim
/
ucsim
/
cmd.src
/
newcmd.cc
diff --git
a/sim/ucsim/cmd.src/newcmd.cc
b/sim/ucsim/cmd.src/newcmd.cc
index cf32c05c4f610af5932f7eb0d0be499334679f8e..8aedf819bb357b4d0f69d998f97a2d5492577397 100644
(file)
--- a/
sim/ucsim/cmd.src/newcmd.cc
+++ b/
sim/ucsim/cmd.src/newcmd.cc
@@
-953,6
+953,16
@@
cl_commander::all_print(char *string, int length)
* Printing to actual_console
*/
* Printing to actual_console
*/
+FILE *
+cl_commander::get_out(void)
+{
+ if (actual_console)
+ return(actual_console->get_out());
+ else if (frozen_console)
+ return(frozen_console->get_out());
+ return(0);
+}
+
int
cl_commander::dd_printf(char *format, ...)
{
int
cl_commander::dd_printf(char *format, ...)
{