summaryrefslogtreecommitdiff
path: root/src/debug/ptrace
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/ptrace')
-rw-r--r--src/debug/ptrace/options.c4
-rw-r--r--src/debug/ptrace/options.h2
-rw-r--r--src/debug/ptrace/ptrace.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/debug/ptrace/options.c b/src/debug/ptrace/options.c
index 6aa8a1c..4123e3f 100644
--- a/src/debug/ptrace/options.c
+++ b/src/debug/ptrace/options.c
@@ -65,13 +65,13 @@ struct _ptrace_options
* *
******************************************************************************/
-ptrace_options *create_ptrace_options_from_binary(const openida_binary *binary)
+ptrace_options *create_ptrace_options_from_binary(const GOpenidaBinary *binary)
{
ptrace_options *result;
result = (ptrace_options *)calloc(1, sizeof(ptrace_options));
- result->filename = strdup(openida_binary_get_filename(binary));
+ result->filename = strdup(g_openida_binary_get_filename(binary));
result->argv = (char **)calloc(2, sizeof(char *));
diff --git a/src/debug/ptrace/options.h b/src/debug/ptrace/options.h
index bc25abf..5d02617 100644
--- a/src/debug/ptrace/options.h
+++ b/src/debug/ptrace/options.h
@@ -40,7 +40,7 @@ typedef struct _ptrace_options ptrace_options;
/* Etablit les options par défaut pour un binaire donné. */
-ptrace_options *create_ptrace_options_from_binary(const openida_binary *);
+ptrace_options *create_ptrace_options_from_binary(const GOpenidaBinary *);
/* Lance le processus à déboguer via ptrace(). */
bool run_ptrace_options_process(const ptrace_options *);
diff --git a/src/debug/ptrace/ptrace.c b/src/debug/ptrace/ptrace.c
index 8840ce6..a5c065e 100644
--- a/src/debug/ptrace/ptrace.c
+++ b/src/debug/ptrace/ptrace.c
@@ -300,7 +300,7 @@ void *ptrace_thread(GPtraceDebugger *debugger)
gdk_threads_enter();
log_variadic_message(LMT_PROCESS, _("Starting to debug %s..."),
- openida_binary_get_filename(G_BINARY_DEBUGGER(debugger)->binary));
+ g_openida_binary_get_filename(G_BINARY_DEBUGGER(debugger)->binary));
gdk_flush ();
gdk_threads_leave();
@@ -376,7 +376,7 @@ void *ptrace_thread(GPtraceDebugger *debugger)
}
log_variadic_message(LMT_PROCESS, _("Finished to debug %s..."),
- openida_binary_get_filename(G_BINARY_DEBUGGER(debugger)->binary));
+ g_openida_binary_get_filename(G_BINARY_DEBUGGER(debugger)->binary));
break;