2 * Author: Brent Smith <gnome@nextreality.net>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
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.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18 #ifndef __GDB_BUDDY_H__
19 #define __GDB_BUDDY_H__
25 extern GQuark
gdb_buddy_error_quark (void);
26 #define GDB_BUDDY_ERROR gdb_buddy_error_quark ()
29 GDB_BUDDY_BINARY_NOT_FOUND
,
30 GDB_BUDDY_GDB_NOT_FOUND
,
31 GDB_BUDDY_GDB_CMD_NOT_FOUND
,
35 typedef void (*GdbCallback
)(const gchar
*stacktrace
, gpointer user_data
);
37 guint
gdb_get_trace (const char *app
, int pid
, gpointer user_data
, GdbCallback gdb_finish
, GError
**err
);
41 #endif /* __GDB_BUDDY_H__ */