summaryrefslogtreecommitdiff
path: root/src/debug/debugger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/debugger.c')
-rw-r--r--src/debug/debugger.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/debug/debugger.c b/src/debug/debugger.c
index 7f66a0b..4f5eb19 100644
--- a/src/debug/debugger.c
+++ b/src/debug/debugger.c
@@ -136,6 +136,30 @@ GBinaryDebugger *g_new_binary_debugger(DebuggerType type, GOpenidaBinary *binary
* *
* Description : Démarre une procédure de débogage. *
* *
+* Retour : Bilan de l'opération. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+bool g_binary_debugger_attach(GBinaryDebugger *debugger)
+{
+ bool result; /* Bilan à retourner */
+
+ if (debugger->attach == NULL) result = true;
+ else result = debugger->attach(debugger);
+
+ return result;
+
+}
+
+
+/******************************************************************************
+* *
+* Paramètres : debugger = débogueur à manipuler ici. *
+* *
+* Description : Démarre une procédure de débogage. *
+* *
* Retour : - *
* *
* Remarques : - *