Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: can't build cross-gdb for --target=mips-sgi-irix6
Date: Tue, 01 Oct 2002 17:50:00 -0000	[thread overview]
Message-ID: <or3crpy894.fsf@free.redhat.lsd.ic.unicamp.br> (raw)

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

             reply	other threads:[~2002-10-02  0:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01 17:50 Alexandre Oliva [this message]
2002-10-01 17:54 ` Daniel Jacobowitz
2002-10-01 17:59   ` Alexandre Oliva
2002-10-01 18:08 ` Kevin Buettner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=or3crpy894.fsf@free.redhat.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox