aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-spu.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-spu.c')
-rw-r--r--gdb/solib-spu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c
index 468ab1a..1df7422 100644
--- a/gdb/solib-spu.c
+++ b/gdb/solib-spu.c
@@ -171,7 +171,7 @@ spu_current_sos (void)
;
/* Determine list of SPU ids. */
- size = target_read (&current_target, TARGET_OBJECT_SPU, NULL,
+ size = target_read (current_target, TARGET_OBJECT_SPU, NULL,
buf, 0, sizeof buf);
/* Do not add stand-alone SPE executable context as shared library,
@@ -206,7 +206,7 @@ spu_current_sos (void)
already created the SPE context, but not installed the object-id
yet. Skip such entries; we'll be back for them later. */
xsnprintf (annex, sizeof annex, "%d/object-id", fd);
- len = target_read (&current_target, TARGET_OBJECT_SPU, annex,
+ len = target_read (current_target, TARGET_OBJECT_SPU, annex,
(gdb_byte *) id, 0, sizeof id);
if (len <= 0 || len >= sizeof id)
continue;
@@ -421,7 +421,7 @@ spu_enable_break (struct objfile *objfile)
CORE_ADDR addr = BMSYMBOL_VALUE_ADDRESS (spe_event_sym);
addr = gdbarch_convert_from_func_ptr_addr (target_gdbarch (), addr,
- &current_target);
+ current_target);
create_solib_event_breakpoint (target_gdbarch (), addr);
return 1;
}