summaryrefslogtreecommitdiff
path: root/src/debug/debugger-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-02-18 16:41:31 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-02-18 16:41:31 (GMT)
commitdeb012d919ea6c5e79702a39a03a85be2ffcf406 (patch)
treeae9cee108d05e0a6674d8617a08d0ea09165443c /src/debug/debugger-int.h
parent73605bffb935fc51a52be1936426211e31dd898a (diff)
Retrieved the frames stack from the running process.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@235 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/debug/debugger-int.h')
-rw-r--r--src/debug/debugger-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/debugger-int.h b/src/debug/debugger-int.h
index 490b35c..f6f51ad 100644
--- a/src/debug/debugger-int.h
+++ b/src/debug/debugger-int.h
@@ -44,6 +44,9 @@ typedef bool (* resume_debugger_fc) (GBinaryDebugger *);
/* Fournit les identifiants de tous les threads actifs. */
typedef pid_t * (* dbg_list_all_threads_fc) (GBinaryDebugger *, char ***, size_t *);
+/* Fournit la liste des frames courantes d'un thread donné. */
+typedef dbg_frame_t * (* dbg_get_frames_stack_fc) (GBinaryDebugger *, pid_t, size_t *);
+
/* Fournit la valeur des registres de l'architecture. */
typedef register_value * (* get_register_values_fc) (GBinaryDebugger *, size_t *);
@@ -63,6 +66,7 @@ struct _GBinaryDebugger
basic_debugger_fc kill; /* Tue le débogueur */
dbg_list_all_threads_fc all_threads; /* Liste des threads actifs */
+ dbg_get_frames_stack_fc frames_stack; /* Pile des frames courantes */
get_register_values_fc get_reg_values; /* Obtient les valeurs de reg. */