[WIP/RFC] MIPS registers overhaul
Andrew Cagney
ac131313@redhat.com
Tue May 20 20:52:00 GMT 2003
> At Sat, 17 May 2003 00:41:10 +0000 (UTC), "Kevin Buettner" wrote:
>
>> Unfortunately, it isn't reasonable to use an ABI-specific RDA to debug
>> an application which uses a different ABI. It might kind of, sort of
>> work some of the time, but there are various things that won't work.
>> You've just identified one of the problems.
>
>
> BTW, because of this kind of problem, does it even make sense that
> when talking to a mips64 kernel but using an o32 rda (or gdbserver
> 8-), you'd use a "mips64" protocol? I.e., why wouldn't it just use
> the 32-bit mips protocol, since from you're debugging a 32-bit binary
> with a 32-bit debugging daemon...
Ignoring the FP registers, I think it does make sense. o32 code does
run on a 64 bit ISA. Who is GDB to decide what the ISA should be.
Andrew
More information about the Gdb-patches
mailing list