diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2011-01-06 01:22:24 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2011-01-06 01:22:24 (GMT) |
commit | cb8d8fb7a69dfd7ef03585d921ddccfc452f39de (patch) | |
tree | af7d552e0e9e1ae5f8723ba4660f7d3ff2c6e4dc /src/debug/debugger.c | |
parent | ee2e35f6dced8340682eab8cb013ba2911858c53 (diff) |
Attached the debugger to a given target.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@207 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/debug/debugger.c')
-rw-r--r-- | src/debug/debugger.c | 24 |
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 : - * |