This is the mail archive of the gdb-patches@sources.redhat.com 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]

can't build cross-gdb for --target=mips-sgi-irix6


mips-sgi-irix6-gdb (5.3 branch and mainline) failed to link on
athlon-pc-linux-gnu.  breakpoint.c didn't to compile in
disable_breakpoints_in_shlibs() because SOLIB_ADD was not defined.  I
think solib.h must be #included somewhere, and I think the right place
is config/mips/tm-irix6.h.  I couldn't test this natively, because I
don't have access to any irix box at the moment, but the cross
debugger built correctly with this patch.  Ok to install?

Index: gdb/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* config/mips/tm-irix6.h: Include solib.h.

Index: gdb/config/mips/tm-irix6.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-irix6.h,v
retrieving revision 1.5
diff -u -p -r1.5 tm-irix6.h
--- gdb/config/mips/tm-irix6.h 20 Aug 2002 13:17:55 -0000 1.5
+++ gdb/config/mips/tm-irix6.h 2 Oct 2002 00:36:49 -0000
@@ -1,5 +1,5 @@
 /* Target machine description for SGI Iris under Irix 6.x, for GDB.
-   Copyright 2001
+   Copyright 2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -20,6 +20,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include "mips/tm-bigmips64.h"
+#include "solib.h"
 
 /* SGI's assembler doesn't grok dollar signs in identifiers.
    So we use dots instead.  This item must be coordinated with G++. */
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

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