linux-mips
[Top] [All Lists]

Re: gdb gets confused with o32 core files, WANT_COMPAT_REG_H needed?

To: Dave Johnson <djohnson+linuxmips@sw.starentnetworks.com>, Daniel Jacobowitz <dan@debian.org>
Subject: Re: gdb gets confused with o32 core files, WANT_COMPAT_REG_H needed?
From: Martin Michlmayr <tbm@cyrius.com>
Date: Wed, 18 Jan 2006 15:43:19 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20060116160925.GE28383@deprecation.cyrius.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <17162.16068.212165.340275@cortez.sw.starentnetworks.com> <20050828154530.GA26423@nevyn.them.org> <17162.16068.212165.340275@cortez.sw.starentnetworks.com> <20060116160925.GE28383@deprecation.cyrius.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11
* Martin Michlmayr <tbm@cyrius.com> [2006-01-16 16:09]:
> Can this be applied?
> 
> 
> > Fix o32 core files under 64bit kernel to use correct register
> > offset in NT_PRSTATUS
> > Signed-off-by: Dave Johnson <djohnson+linuxmips@sw.starentnetworks.com>
> >  
> > -#if CONFIG_MIPS64
> > +#if defined(CONFIG_MIPS64) && !defined(WANT_COMPAT_REG_H)

Obviously, this should be CONFIG_64BIT now.

-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>