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]

Re: 5.1 PATCH: Allow gdb to link on mips-sgi-irix5.3


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


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