[Top] [All Lists]

Re: gdb for mips64

To: Camm Maguire <>
Subject: Re: gdb for mips64
From: David Daney <>
Date: Mon, 25 Oct 2010 14:45:22 -0700
Cc:, Frederick Isaac <>,, linux-mips <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7
On 10/25/2010 02:32 PM, Camm Maguire wrote:
Greetings!  Can gdb be made to work on mips64?

You have to have a 64-bit toolchain.

Then something like this (untested):

CC='mips64-linux-gnu -mabi=64' configure --host=mips64-linux --target=mips64-linux.

I don't think a 32-bit gdb can debug 64-bit processes :-(.

David Daney

(gdb) r
Starting program: /home/camm/gcl-2.6.8pre/unixport/saved_pre_gcl
/home/wingsun/develop/build/gdb/gdb-6.8/gdb/mips-tdep.c:603: internal-error: 
bad register size
A problem internal to GDB has been detected,
further debugging may prove unreliable.

Take care,

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