* mi/mi-interp.c (mi_interpreter_resume): Route target error
authorFrederic Riss <frederic.riss@st.com>
Tue, 6 Dec 2005 05:53:46 +0000 (05:53 +0000)
committerFrederic Riss <frederic.riss@st.com>
Tue, 6 Dec 2005 05:53:46 +0000 (05:53 +0000)
through the MI.

gdb/ChangeLog
gdb/mi/mi-interp.c

index c3ce8f8..fd38119 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-06  Serge Chatroux  <serge.chatroux@st.com>
+
+       * mi/mi-interp.c (mi_interpreter_resume): Route target error
+       through the MI.
+
 2005-12-04  Mark Kettenis  <kettenis@gnu.org>
 
        * amd64obsd-tdep.c: Include "regcache.h" and "bsd-uthread.h".
index cb4c49e..7191da6 100644 (file)
@@ -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... */