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]

Unbreak ppc-linux|spu builds


The solist->from_tty flag is gone.  I missed a couple of uses of it
in the tree.  This fixes it.

Tested by building an --enable-targets=all gdb.

-- 
Pedro Alves

2010-04-15  Pedro Alves  <pedro@codesourcery.com>

	gdb/
	* ppc-linux-tdep.c (bsd_uthread_solib_loaded): Always pass 0 for
	flags.
	* solib-spu.c (spu_solib_loaded): Always pass 0 for flags.

---
 gdb/ppc-linux-tdep.c |    2 +-
 gdb/solib-spu.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: src/gdb/ppc-linux-tdep.c
===================================================================
--- src.orig/gdb/ppc-linux-tdep.c	2010-04-15 20:53:17.000000000 +0100
+++ src/gdb/ppc-linux-tdep.c	2010-04-15 21:05:04.000000000 +0100
@@ -1222,7 +1222,7 @@ ppc_linux_spe_context_solib_loaded (stru
 {
   if (strstr (so->so_original_name, "/libspe") != NULL)
     {
-      solib_read_symbols (so, so->from_tty ? SYMFILE_VERBOSE : 0);
+      solib_read_symbols (so, 0);
       ppc_linux_spe_context_lookup (so->objfile);
     }
 }
Index: src/gdb/solib-spu.c
===================================================================
--- src.orig/gdb/solib-spu.c1	2010-04-15 20:53:11.000000000 +0100
+++ src/gdb/solib-spu.c	2010-04-15 21:04:42.000000000 +0100
@@ -428,7 +428,7 @@ spu_solib_loaded (struct so_list *so)
 {
   if (strstr (so->so_original_name, "/libspe") != NULL)
     {
-      solib_read_symbols (so, so->from_tty ? SYMFILE_VERBOSE : 0);
+      solib_read_symbols (so, 0);
       spu_enable_break (so->objfile);
     }
 }


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