OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [mi/] [mi-common.h] - Blame information for rev 834

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/* Interface for common GDB/MI data
2
   Copyright (C) 2005, 2007, 2008, 2009, 2010 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 the
23
   front end.  NOTE: When modifing this, don't forget to update gdb.texinfo!  */
24
enum async_reply_reason
25
{
26
  EXEC_ASYNC_BREAKPOINT_HIT = 0,
27
  EXEC_ASYNC_WATCHPOINT_TRIGGER,
28
  EXEC_ASYNC_READ_WATCHPOINT_TRIGGER,
29
  EXEC_ASYNC_ACCESS_WATCHPOINT_TRIGGER,
30
  EXEC_ASYNC_FUNCTION_FINISHED,
31
  EXEC_ASYNC_LOCATION_REACHED,
32
  EXEC_ASYNC_WATCHPOINT_SCOPE,
33
  EXEC_ASYNC_END_STEPPING_RANGE,
34
  EXEC_ASYNC_EXITED_SIGNALLED,
35
  EXEC_ASYNC_EXITED,
36
  EXEC_ASYNC_EXITED_NORMALLY,
37
  EXEC_ASYNC_SIGNAL_RECEIVED,
38
  /* This is here only to represent the number of enums.  */
39
  EXEC_ASYNC_LAST
40
};
41
 
42
const char *async_reason_lookup (enum async_reply_reason reason);
43
 
44
struct mi_interp
45
{
46
  /* MI's output channels */
47
  struct ui_file *out;
48
  struct ui_file *err;
49
  struct ui_file *log;
50
  struct ui_file *targ;
51
  struct ui_file *event_channel;
52
 
53
  /* This is the interpreter for the mi... */
54
  struct interp *mi2_interp;
55
  struct interp *mi1_interp;
56
  struct interp *mi_interp;
57
};
58
 
59
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.