This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: 5.1 PATCH: Allow gdb to link on mips-sgi-irix5.3
- To: ro at TechFak dot Uni-Bielefeld dot DE
- Subject: Re: 5.1 PATCH: Allow gdb to link on mips-sgi-irix5.3
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Fri, 27 Jul 2001 12:05:48 +0300
- CC: gdb-patches at sources dot redhat dot com
- References: <15200.36561.946734.92731@xayide.TechFak.Uni-Bielefeld.DE>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
> Date: Thu, 26 Jul 2001 23:42:41 +0200 (MEST)
>
> I just tried the current CVS version, configured on IRIX 6.2 for
> mips-sgi-irix5.3, to allow debugging O32 binaries on IRIX 6 during my work
> to re-integrate O32 ABI support for IRIX 6 into GCC.
Is there any reason why you didn't use mips-sgi-irix6 configuration?
Since you want to debug on Irix 6.x, that sounds like The Right Way,
no?
As a bonus, you'd have this problem solved, because I already bumped
into it when I tried to build a native Irix 6 GDB.
The CVS version should build and work when configured as
mips-sgi-irix6, but I only tested that with n32 and -64 executables
(the latter is _known_ to be broken for now, see NEWS, but GDB never
supported -64 anyway). So it's possible that o32 has some issues, but
I did try not to break it when I fixed n32 support on Irix 6.
> diff -u -p -r1.2 irix5.mh
> --- irix5.mh 2000/06/12 06:09:05 1.2
> +++ irix5.mh 2001/07/26 21:31:57
> @@ -2,7 +2,7 @@
> XDEPFILES=
> XM_FILE= xm-irix5.h
> NAT_FILE= nm-irix5.h
> -NATDEPFILES= fork-child.o irix5-nat.o corelow.o procfs.o \
> +NATDEPFILES= fork-child.o solib.o irix5-nat.o corelow.o procfs.o \
> proc-api.o proc-events.o proc-flags.o proc-why.o
You will see that this patch is already there in irix6.mh.