This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Why does mips define elf_backend_sign_extend_vma to true?
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.