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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c
index c5e0aca..49e470a 100644
--- a/gdb/solib-spu.c
+++ b/gdb/solib-spu.c
@@ -364,7 +364,7 @@ spu_bfd_open (const char *pathname)
spu_name = bfd_get_section_by_name (abfd.get (), ".note.spu_name");
if (spu_name)
{
- int sect_size = bfd_section_size (abfd.get (), spu_name);
+ int sect_size = bfd_section_size (spu_name);
if (sect_size > 20)
{