diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 16:43:34 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 16:43:34 +0000 |
commit | 66bb093b5faddd76e3e307ce59024ac703e8b892 (patch) | |
tree | 4bcb5c077f25e10f7998756e24d2c2ff74891dd8 /gdb/mi/mi-common.h | |
parent | 8dd4f202ecf146ae7746e10277ddebedc43f42d4 (diff) | |
download | gdb-66bb093b5faddd76e3e307ce59024ac703e8b892.zip gdb-66bb093b5faddd76e3e307ce59024ac703e8b892.tar.gz gdb-66bb093b5faddd76e3e307ce59024ac703e8b892.tar.bz2 |
Implement =thread-selected notification.
* mi/mi-common.h (struct mi_interp): New, moved from ...
* mi/mi-interp.c: ...here.
* mi/mi-main.c (mi_execute_command): If the thread changed
as result of command, report that.
Diffstat (limited to 'gdb/mi/mi-common.h')
-rw-r--r-- | gdb/mi/mi-common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/mi/mi-common.h b/gdb/mi/mi-common.h index e47afd1..8778e74 100644 --- a/gdb/mi/mi-common.h +++ b/gdb/mi/mi-common.h @@ -41,4 +41,19 @@ enum async_reply_reason const char *async_reason_lookup (enum async_reply_reason reason); +struct mi_interp +{ + /* MI's output channels */ + struct ui_file *out; + struct ui_file *err; + struct ui_file *log; + struct ui_file *targ; + struct ui_file *event_channel; + + /* This is the interpreter for the mi... */ + struct interp *mi2_interp; + struct interp *mi1_interp; + struct interp *mi_interp; +}; + #endif |