summaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorFrederic Riss <frederic.riss@st.com>2005-12-06 05:53:46 +0000
committerFrederic Riss <frederic.riss@st.com>2005-12-06 05:53:46 +0000
commit430d770de81d4e3f1e50e8fa9484d1abcf68e203 (patch)
treeeecbdddf1a4fc32165fc56b186e7ded208c5b193 /gdb/mi
parente68bcd3a6b37ee1294634db64afc1778afa5359d (diff)
downloadgdb-430d770de81d4e3f1e50e8fa9484d1abcf68e203.tar.gz
* mi/mi-interp.c (mi_interpreter_resume): Route target error
through the MI.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-interp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index cb4c49e5664..7191da64e03 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -119,6 +119,8 @@ mi_interpreter_resume (void *data)
gdb_stdlog = mi->log;
/* Route target output through the MI. */
gdb_stdtarg = mi->targ;
+ /* Route target error through the MI as well. */
+ gdb_stdtargerr = mi->targ;
/* Replace all the hooks that we know about. There really needs to
be a better way of doing this... */