linux-mips
[Top] [All Lists]

Re: [PATCH] fix gdb-stub for kernel compiled with higher ISA level

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] fix gdb-stub for kernel compiled with higher ISA level
From: Daniel Jacobowitz <dan@debian.org>
Date: Fri, 25 Nov 2005 14:27:42 -0500
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <20051124.165043.112050815.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20051124.165043.112050815.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.8i
On Thu, Nov 24, 2005 at 04:50:43PM +0900, Atsushi Nemoto wrote:
> The modern gdb seems to require 64bit values in remote packet for
> 32bit kernel which is compiled with -march=mips3, etc.

FYI, it is a known limitation in GDB that it can't cope with either
format, and I hope to fix it sometime soon.  It's definitely a bug that
it expects 64-bit registers for mips3 32-bit binaries; I think the
change in question was crazy...

You can "set architecture mips:isa32" before connecting to get around
this.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

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