/usr/include/libanjuta-3.0/libanjuta/interfaces/ianjuta-debugger-breakpoint.h is in libanjuta-dev 2:3.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* ianjuta-debugger-breakpoint.h -- Autogenerated from libanjuta.idl
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _IANJUTA_DEBUGGER_BREAKPOINT_H_
#define _IANJUTA_DEBUGGER_BREAKPOINT_H_
#include <glib-object.h>
#include <libanjuta/interfaces/ianjuta-debugger.h>
G_BEGIN_DECLS
#define IANJUTA_TYPE_DEBUGGER_BREAKPOINT (ianjuta_debugger_breakpoint_get_type ())
#define IANJUTA_DEBUGGER_BREAKPOINT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IANJUTA_TYPE_DEBUGGER_BREAKPOINT, IAnjutaDebuggerBreakpoint))
#define IANJUTA_IS_DEBUGGER_BREAKPOINT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IANJUTA_TYPE_DEBUGGER_BREAKPOINT))
#define IANJUTA_DEBUGGER_BREAKPOINT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), IANJUTA_TYPE_DEBUGGER_BREAKPOINT, IAnjutaDebuggerBreakpointIface))
#define IANJUTA_TYPE_DEBUGGER_BREAKPOINT_METHOD (ianjuta_debugger_breakpoint_method_get_type())
#define IANJUTA_TYPE_DEBUGGER_BREAKPOINT_TYPE (ianjuta_debugger_breakpoint_type_get_type())
#define IANJUTA_DEBUGGER_BREAKPOINT_ERROR ianjuta_debugger_breakpoint_error_quark()
typedef struct _IAnjutaDebuggerBreakpoint IAnjutaDebuggerBreakpoint;
typedef struct _IAnjutaDebuggerBreakpointIface IAnjutaDebuggerBreakpointIface;
/**
* IAnjutaDebuggerBreakpointMethod:
* @IANJUTA_DEBUGGER_BREAKPOINT_SET_AT_ADDRESS: Allow to set breakpoint on address
* @IANJUTA_DEBUGGER_BREAKPOINT_SET_AT_FUNCTION: Allow to set breakpoint on function name
* @IANJUTA_DEBUGGER_BREAKPOINT_ENABLE: Allow to disable breakpoint
* @IANJUTA_DEBUGGER_BREAKPOINT_IGNORE: Allow to ignore breakpoint
* @IANJUTA_DEBUGGER_BREAKPOINT_CONDITION: Allow to add a condition on breakpoint
*
* Defines which breakpoint characteristics are supported by the debugger
* backend.
*/
typedef enum {
IANJUTA_DEBUGGER_BREAKPOINT_SET_AT_ADDRESS = 1 << 0,
IANJUTA_DEBUGGER_BREAKPOINT_SET_AT_FUNCTION = 1 << 1,
IANJUTA_DEBUGGER_BREAKPOINT_ENABLE = 1 << 2,
IANJUTA_DEBUGGER_BREAKPOINT_IGNORE = 1 << 3,
IANJUTA_DEBUGGER_BREAKPOINT_CONDITION = 1 << 4
} IAnjutaDebuggerBreakpointMethod;
/**
* IAnjutaDebuggerBreakpointType:
* @IANJUTA_DEBUGGER_BREAKPOINT_REMOVED: Set for removed breakpoint
* @IANJUTA_DEBUGGER_BREAKPOINT_UPDATED: Set for changed breakpoint
* @IANJUTA_DEBUGGER_BREAKPOINT_ON_LINE: Set on source line
* @IANJUTA_DEBUGGER_BREAKPOINT_ON_ADDRESS: Set on an addresse
* @IANJUTA_DEBUGGER_BREAKPOINT_ON_FUNCTION: Set on a function name
* @IANJUTA_DEBUGGER_BREAKPOINT_ON_READ: Set on read access
* @IANJUTA_DEBUGGER_BREAKPOINT_ON_WRITE: Set on write access
* @IANJUTA_DEBUGGER_BREAKPOINT_WITH_ENABLE: Has enable information
* @IANJUTA_DEBUGGER_BREAKPOINT_WITH_IGNORE: Has ignore information,
* @IANJUTA_DEBUGGER_BREAKPOINT_WITH_TIME: Has counter information
* @IANJUTA_DEBUGGER_BREAKPOINT_WITH_CONDITION: Has a condition
* @IANJUTA_DEBUGGER_BREAKPOINT_WITH_TEMPORARY: Temporary breakpoint, automatically removed when triggered
* @IANJUTA_DEBUGGER_BREAKPOINT_WITH_PENDING: Pending breakpoint
*
* This enumeration defined various characteristics of the breakpoint.
*/
typedef enum {
IANJUTA_DEBUGGER_BREAKPOINT_REMOVED = 1 << 0,
IANJUTA_DEBUGGER_BREAKPOINT_UPDATED = 1 << 17,
IANJUTA_DEBUGGER_BREAKPOINT_ON_LINE = 1 << 1,
IANJUTA_DEBUGGER_BREAKPOINT_ON_ADDRESS = 1 << 2,
IANJUTA_DEBUGGER_BREAKPOINT_ON_FUNCTION = 1 << 3,
IANJUTA_DEBUGGER_BREAKPOINT_ON_READ = 1 << 4,
IANJUTA_DEBUGGER_BREAKPOINT_ON_WRITE = 1 << 5,
IANJUTA_DEBUGGER_BREAKPOINT_WITH_ENABLE = 1 << 16,
IANJUTA_DEBUGGER_BREAKPOINT_WITH_IGNORE = 1 << 15,
IANJUTA_DEBUGGER_BREAKPOINT_WITH_TIME = 1 << 11,
IANJUTA_DEBUGGER_BREAKPOINT_WITH_CONDITION = 1 << 12,
IANJUTA_DEBUGGER_BREAKPOINT_WITH_TEMPORARY = 1 << 13,
IANJUTA_DEBUGGER_BREAKPOINT_WITH_PENDING = 1 << 14,
} IAnjutaDebuggerBreakpointType;
/**
* IAnjutaDebuggerBreakpointItem:
* @type: type see #IAnjutaBreakpointType enumeration
* @id: unique identifier
* @file: source file where is the breakpoint
* @line: corresponding source file line number
* @function: corresponding function name
* @address: corresponding address
* @enable: TRUE if the breakpoint is enabled
* @ignore: TRUE if the breakpoint is ignored
* @times: Count how many time the breakpoint is triggered
* @condition: Additional condition for triggering the breakpoint
* @temporary: TRUE if the breakpoint is temporary
* @pending: TRUE if the breakpoint is pending
*
* This structure keeps all information about a breakpoint.
*/
typedef struct _IAnjutaDebuggerBreakpointItem IAnjutaDebuggerBreakpointItem;
struct _IAnjutaDebuggerBreakpointItem {
gint type;
guint id;
gchar *file;
guint line;
gchar *function;
gulong address;
gboolean enable;
guint ignore;
guint times;
gchar *condition;
gboolean temporary;
gboolean pending;
};
/**
* IAnjutaDebuggerBreakpointCallback:
* @data: a #IAnjutaBreakpointItem object
* @user_data: user data passed to the function
* @error: error
*
* This callback function is used to return a #IAnjutaBreakpointItem.
*/
typedef void (*IAnjutaDebuggerBreakpointCallback) (const IAnjutaDebuggerBreakpointItem *data, gpointer user_data, GError* err);
struct _IAnjutaDebuggerBreakpointIface {
IAnjutaDebuggerIface g_iface;
gboolean (*clear_breakpoint) (IAnjutaDebuggerBreakpoint *obj, guint id, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean (*condition_breakpoint) (IAnjutaDebuggerBreakpoint *obj, guint id, const gchar* condition, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean (*enable_breakpoint) (IAnjutaDebuggerBreakpoint *obj, guint id, gboolean enable, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean (*ignore_breakpoint) (IAnjutaDebuggerBreakpoint *obj, guint id, guint ignore, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gint (*implement_breakpoint) (IAnjutaDebuggerBreakpoint *obj, GError **err);
gboolean (*list_breakpoint) (IAnjutaDebuggerBreakpoint *obj, IAnjutaDebuggerGListCallback callback, gpointer user_data, GError **err);
gboolean (*set_breakpoint_at_address) (IAnjutaDebuggerBreakpoint *obj, gulong address, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean (*set_breakpoint_at_function) (IAnjutaDebuggerBreakpoint *obj, const gchar* file, const gchar* function, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean (*set_breakpoint_at_line) (IAnjutaDebuggerBreakpoint *obj, const gchar* file, guint line, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
};
GType ianjuta_debugger_breakpoint_method_get_type (void);
GType ianjuta_debugger_breakpoint_type_get_type (void);
GQuark ianjuta_debugger_breakpoint_error_quark (void);
GType ianjuta_debugger_breakpoint_get_type (void);
gboolean ianjuta_debugger_breakpoint_clear_breakpoint (IAnjutaDebuggerBreakpoint *obj, guint id, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean ianjuta_debugger_breakpoint_condition_breakpoint (IAnjutaDebuggerBreakpoint *obj, guint id, const gchar* condition, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean ianjuta_debugger_breakpoint_enable_breakpoint (IAnjutaDebuggerBreakpoint *obj, guint id, gboolean enable, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean ianjuta_debugger_breakpoint_ignore_breakpoint (IAnjutaDebuggerBreakpoint *obj, guint id, guint ignore, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gint ianjuta_debugger_breakpoint_implement_breakpoint (IAnjutaDebuggerBreakpoint *obj, GError **err);
gboolean ianjuta_debugger_breakpoint_list_breakpoint (IAnjutaDebuggerBreakpoint *obj, IAnjutaDebuggerGListCallback callback, gpointer user_data, GError **err);
gboolean ianjuta_debugger_breakpoint_set_breakpoint_at_address (IAnjutaDebuggerBreakpoint *obj, gulong address, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean ianjuta_debugger_breakpoint_set_breakpoint_at_function (IAnjutaDebuggerBreakpoint *obj, const gchar* file, const gchar* function, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
gboolean ianjuta_debugger_breakpoint_set_breakpoint_at_line (IAnjutaDebuggerBreakpoint *obj, const gchar* file, guint line, IAnjutaDebuggerBreakpointCallback callback, gpointer user_data, GError **err);
G_END_DECLS
#endif
|