gdb/mi/mi-main.h - gdb

Data types defined

Macros defined

Source code

  1. /* MI Internal Functions for GDB, the GNU debugger.

  2.    Copyright (C) 2003-2015 Free Software Foundation, Inc.

  3.    This file is part of GDB.

  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 3 of the License, or
  7.    (at your option) any later version.

  8.    This program is distributed in the hope that it will be useful,
  9.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11.    GNU General Public License for more details.

  12.    You should have received a copy of the GNU General Public License
  13.    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

  14. #ifndef MI_MAIN_H
  15. #define MI_MAIN_H

  16. extern void mi_load_progress (const char *section_name,
  17.                               unsigned long sent_so_far,
  18.                               unsigned long total_section,
  19.                               unsigned long total_sent,
  20.                               unsigned long grand_total);

  21. extern void mi_print_timing_maybe (void);

  22. /* Whether MI is in async mode.  */

  23. extern int mi_async_p (void);

  24. extern char *current_token;

  25. extern int running_result_record_printed;
  26. extern int mi_proceeded;

  27. struct mi_suppress_notification
  28. {
  29.   /* Breakpoint notification suppressed?  */
  30.   int breakpoint;
  31.   /* Command param changed notification suppressed?  */
  32.   int cmd_param_changed;
  33.   /* Traceframe changed notification suppressed?  */
  34.   int traceframe;
  35.   /* Memory changed notification suppressed?  */
  36.   int memory;
  37. };
  38. extern struct mi_suppress_notification mi_suppress_notification;

  39. #endif