aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
commit1f20321be57f8091638c0682efad66f622a93ef1 (patch)
treefcf5dd924364736b94334f21a629375ad09fd580 /gdb
parent5016a164f81ed9c0512e608a796c1429e03dc372 (diff)
downloadfsf-binutils-gdb-1f20321be57f8091638c0682efad66f622a93ef1.zip
fsf-binutils-gdb-1f20321be57f8091638c0682efad66f622a93ef1.tar.gz
fsf-binutils-gdb-1f20321be57f8091638c0682efad66f622a93ef1.tar.bz2
* mi/mi-interp.c (mi_interpreter_resume): Route target error
through the MI.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mi/mi-interp.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c3ce8f8..fd38119 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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".
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index cb4c49e..7191da6 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... */