1 /* ide-debugger-private.h 2 * 3 * Copyright 2017-2019 Christian Hergert <chergert@redhat.com> 4 * 5 * This program is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * 18 * SPDX-License-Identifier: GPL-3.0-or-later 19 */ 20 21 #pragma once 22 23 #include "ide-debug-manager.h" 24 #include "ide-debugger.h" 25 #include "ide-debugger-breakpoints.h" 26 27 G_BEGIN_DECLS 28 29 void _ide_debug_manager_add_breakpoint (IdeDebugManager *self, 30 IdeDebuggerBreakpoint *breakpoint); 31 void _ide_debug_manager_remove_breakpoint (IdeDebugManager *self, 32 IdeDebuggerBreakpoint *breakpoint); 33 void _ide_debugger_breakpoint_reset (IdeDebuggerBreakpoint *self); 34 void _ide_debugger_breakpoints_add (IdeDebuggerBreakpoints *self, 35 IdeDebuggerBreakpoint *breakpoint); 36 void _ide_debugger_breakpoints_remove (IdeDebuggerBreakpoints *self, 37 IdeDebuggerBreakpoint *breakpoint); 38 void _ide_debugger_class_init_actions (GActionGroupInterface *iface); 39 void _ide_debugger_update_actions (IdeDebugger *self); 40 gboolean _ide_debugger_get_has_started (IdeDebugger *self); 41 void _ide_debugger_real_list_frames_async (IdeDebugger *self, 42 IdeDebuggerThread *thread, 43 GCancellable *cancellable, 44 GAsyncReadyCallback callback, 45 gpointer user_data); 46 GPtrArray *_ide_debugger_real_list_frames_finish (IdeDebugger *self, 47 GAsyncResult *result, 48 GError **error); 49 void _ide_debugger_real_interpret_async (IdeDebugger *self, 50 const gchar *command, 51 GCancellable *cancellable, 52 GAsyncReadyCallback callback, 53 gpointer user_data); 54 gboolean _ide_debugger_real_interpret_finish (IdeDebugger *self, 55 GAsyncResult *result, 56 GError **error); 57 void _ide_debugger_real_interrupt_async (IdeDebugger *self, 58 IdeDebuggerThreadGroup *thread_group, 59 GCancellable *cancellable, 60 GAsyncReadyCallback callback, 61 gpointer user_data); 62 gboolean _ide_debugger_real_interrupt_finish (IdeDebugger *self, 63 GAsyncResult *result, 64 GError **error); 65 void _ide_debugger_real_send_signal_async (IdeDebugger *self, 66 gint signum, 67 GCancellable *cancellable, 68 GAsyncReadyCallback callback, 69 gpointer user_data); 70 gboolean _ide_debugger_real_send_signal_finish (IdeDebugger *self, 71 GAsyncResult *result, 72 GError **error); 73 void _ide_debugger_real_modify_breakpoint_async (IdeDebugger *self, 74 IdeDebuggerBreakpointChange change, 75 IdeDebuggerBreakpoint *breakpoint, 76 GCancellable *cancellable, 77 GAsyncReadyCallback callback, 78 gpointer user_data); 79 gboolean _ide_debugger_real_modify_breakpoint_finish (IdeDebugger *self, 80 GAsyncResult *result, 81 GError **error); 82 void _ide_debugger_real_list_params_async (IdeDebugger *self, 83 IdeDebuggerThread *thread, 84 IdeDebuggerFrame *frame, 85 GCancellable *cancellable, 86 GAsyncReadyCallback callback, 87 gpointer user_data); 88 GPtrArray *_ide_debugger_real_list_params_finish (IdeDebugger *self, 89 GAsyncResult *result, 90 GError **error); 91 void _ide_debugger_real_list_locals_async (IdeDebugger *self, 92 IdeDebuggerThread *thread, 93 IdeDebuggerFrame *frame, 94 GCancellable *cancellable, 95 GAsyncReadyCallback callback, 96 gpointer user_data); 97 GPtrArray *_ide_debugger_real_list_locals_finish (IdeDebugger *self, 98 GAsyncResult *result, 99 GError **error); 100 void _ide_debugger_real_list_registers_async (IdeDebugger *self, 101 GCancellable *cancellable, 102 GAsyncReadyCallback callback, 103 gpointer user_data); 104 GPtrArray *_ide_debugger_real_list_registers_finish (IdeDebugger *self, 105 GAsyncResult *result, 106 GError **error); 107 void _ide_debugger_real_disassemble_async (IdeDebugger *self, 108 const IdeDebuggerAddressRange *range, 109 GCancellable *cancellable, 110 GAsyncReadyCallback callback, 111 gpointer user_data); 112 GPtrArray *_ide_debugger_real_disassemble_finish (IdeDebugger *self, 113 GAsyncResult *result, 114 GError **error); 115 116 G_END_DECLS 117