Commit | Line | Data |
---|---|---|
4a8f6654 AC |
1 | /* MI Internal Functions for GDB, the GNU debugger. |
2 | ||
32d0add0 | 3 | Copyright (C) 2003-2015 Free Software Foundation, Inc. |
4a8f6654 AC |
4 | |
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
a9762ec7 | 9 | the Free Software Foundation; either version 3 of the License, or |
4a8f6654 AC |
10 | (at your option) any later version. |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
a9762ec7 | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
4a8f6654 AC |
19 | |
20 | #ifndef MI_MAIN_H | |
21 | #define MI_MAIN_H | |
22 | ||
4a8f6654 AC |
23 | extern void mi_load_progress (const char *section_name, |
24 | unsigned long sent_so_far, | |
25 | unsigned long total_section, | |
26 | unsigned long total_sent, | |
27 | unsigned long grand_total); | |
a2840c35 | 28 | |
6b251945 PA |
29 | extern void mi_print_timing_maybe (void); |
30 | ||
329ea579 PA |
31 | /* Whether MI is in async mode. */ |
32 | ||
33 | extern int mi_async_p (void); | |
34 | ||
a2840c35 VP |
35 | extern char *current_token; |
36 | ||
37 | extern int running_result_record_printed; | |
f3b1572e | 38 | extern int mi_proceeded; |
5b9afe8a YQ |
39 | |
40 | struct mi_suppress_notification | |
41 | { | |
42 | /* Breakpoint notification suppressed? */ | |
43 | int breakpoint; | |
44 | /* Command param changed notification suppressed? */ | |
45 | int cmd_param_changed; | |
201b4506 YQ |
46 | /* Traceframe changed notification suppressed? */ |
47 | int traceframe; | |
8de0566d YQ |
48 | /* Memory changed notification suppressed? */ |
49 | int memory; | |
5b9afe8a YQ |
50 | }; |
51 | extern struct mi_suppress_notification mi_suppress_notification; | |
a2840c35 | 52 | |
4a8f6654 AC |
53 | #endif |
54 |