From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: Andrew Cagney , "Maciej W. Rozycki" , Richard Henderson , David B Anderson , gdb@sourceware.cygnus.com, binutils@sourceware.cygnus.com Subject: Re: Why does mips define elf_backend_sign_extend_vma to true? Date: Wed, 08 Aug 2001 09:52:00 -0000 Message-id: <20010808095214.A29382@lucon.org> References: <20010807232102.A19636@lucon.org> <20010808072922.C26704@lucon.org> <3B7151C1.4030203@cygnus.com> <20010808080306.C26983@lucon.org> <20010808094808.A23955@nevyn.them.org> X-SW-Source: 2001-08/msg00072.html On Wed, Aug 08, 2001 at 09:48:08AM -0700, Daniel Jacobowitz wrote: > On Wed, Aug 08, 2001 at 08:03:06AM -0700, H . J . Lu wrote: > > On Wed, Aug 08, 2001 at 10:50:41AM -0400, Andrew Cagney wrote: > > > > > > There is an old saying K.I.S.S. > > > > > > GDB was, not so recently changed to apply the rule that the MIPS target, > > > always, no matter what, sign extens 32 bit addresses. > > > > > > It had the pleasant side effect of fixing numerous bugs and flushing out > > > too much bogus code. What your proposing is a step back into the dark > > > ages of MIPS programming. > > > > > > Please try > > > > 1. Find a decent compiler for Linux/mips. > > 2. Check out the Linux mips kernel from oss.sgi.com. > > 3. Compile the kernel with -g. > > 4. Compile Linux/mips gdb with 64bit BFD. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > I've already asked you in this thread, what version of tools and what > debug format are you using? Is it gcc3.0 with all your patches and > your Linux binutils? See #4 above. One way to do it is # ../configure --enable-64-bit-bfd --enable-targets=all .... H.J.