GDB (xrefs)
mi-common.h
Go to the documentation of this file.
1 /* Interface for common GDB/MI data
2  Copyright (C) 2005-2015 Free Software Foundation, Inc.
3 
4  This file is part of GDB.
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 
19 #ifndef MI_COMMON_H
20 #define MI_COMMON_H
21 
22 /* Represents the reason why GDB is sending an asynchronous command to
23  the front end. NOTE: When modifing this, don't forget to update
24  gdb.texinfo! */
26 {
45  /* This is here only to represent the number of enums. */
47 };
48 
49 const char *async_reason_lookup (enum async_reply_reason reason);
50 
51 struct mi_interp
52 {
53  /* MI's output channels */
54  struct ui_file *out;
55  struct ui_file *err;
56  struct ui_file *log;
57  struct ui_file *targ;
59 
60  /* MI's builder. */
61  struct ui_out *mi_uiout;
62 
63  /* MI's CLI builder (wraps OUT). */
64  struct ui_out *cli_uiout;
65 
66  /* This is the interpreter for the mi... */
67  struct interp *mi2_interp;
68  struct interp *mi1_interp;
69  struct interp *mi_interp;
70 };
71 
72 #endif
Definition: interps.c:48
Definition: ui-out.c:99
struct ui_out * cli_uiout
Definition: mi-common.h:64
struct interp * mi1_interp
Definition: mi-common.h:68
struct ui_file * log
Definition: mi-common.h:56
async_reply_reason
Definition: mi-common.h:25
struct ui_file * targ
Definition: mi-common.h:57
struct ui_out * mi_uiout
Definition: mi-common.h:61
struct interp * mi2_interp
Definition: mi-common.h:67
struct interp * mi_interp
Definition: mi-common.h:69
struct ui_file * err
Definition: mi-common.h:55
const char * async_reason_lookup(enum async_reply_reason reason)
Definition: mi-common.c:49
struct ui_file * out
Definition: mi-common.h:54
struct ui_file * event_channel
Definition: mi-common.h:58