This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit][spu] Fix spu-linux-nat.c build error


Hello,

recently, the symbol_file_add_from_bfd routine got an additional
parameter.  This updates the call in spu-linux-nat.c accordingly.

Tested on spu-elf, committed to mainline.

Bye,
Ulrich


ChangeLog:

	* spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL
	"parent" parameter to symbol_file_add_from_bfd call.

Index: gdb/spu-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/spu-linux-nat.c,v
retrieving revision 1.26
diff -u -p -r1.26 spu-linux-nat.c
--- gdb/spu-linux-nat.c	1 Jan 2011 15:33:15 -0000	1.26
+++ gdb/spu-linux-nat.c	6 May 2011 16:21:59 -0000
@@ -375,7 +375,7 @@ spu_symbol_file_add_from_memory (int inf
   nbfd = spu_bfd_open (addr);
   if (nbfd)
     symbol_file_add_from_bfd (nbfd, SYMFILE_VERBOSE | SYMFILE_MAINLINE,
-                              NULL, 0);
+                              NULL, 0, NULL);
 }
 

 
-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]