Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* can't build cross-gdb for --target=mips-sgi-irix6
@ 2002-10-01 17:50 Alexandre Oliva
  2002-10-01 17:54 ` Daniel Jacobowitz
  2002-10-01 18:08 ` Kevin Buettner
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Oliva @ 2002-10-01 17:50 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

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?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: irix-solib.patch --]
[-- Type: text/x-patch, Size: 875 bytes --]

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++. */

[-- Attachment #3: Type: text/plain, Size: 289 bytes --]


-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-02  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-01 17:50 can't build cross-gdb for --target=mips-sgi-irix6 Alexandre Oliva
2002-10-01 17:54 ` Daniel Jacobowitz
2002-10-01 17:59   ` Alexandre Oliva
2002-10-01 18:08 ` Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox