* spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 6 May 2011 19:51:12 +0000 (19:51 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 6 May 2011 19:51:12 +0000 (19:51 +0000)
"parent" parameter to symbol_file_add_from_bfd call.

gdb/ChangeLog
gdb/spu-linux-nat.c

index 61b8b15..90fdec5 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL
+       "parent" parameter to symbol_file_add_from_bfd call.
+
 2011-05-06  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
            Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
index db47292..a4bcbf7 100644 (file)
@@ -375,7 +375,7 @@ spu_symbol_file_add_from_memory (int inferior_fd)
   nbfd = spu_bfd_open (addr);
   if (nbfd)
     symbol_file_add_from_bfd (nbfd, SYMFILE_VERBOSE | SYMFILE_MAINLINE,
-                              NULL, 0);
+                              NULL, 0, NULL);
 }