[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1006090945531.4506@i5.linux-foundation.org>
Date: Wed, 9 Jun 2010 09:48:06 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: David Howells <dhowells@...hat.com>
cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] FRV: Implement the GDB remote protocol 'p' command to
retrieve a register
On Wed, 9 Jun 2010, David Howells wrote:
>
> Implement the GDB remote protocol 'p' command to retrieve a single register
> value.
Is there any value to this? Apparently it used to work just because that
command never did anything (rather than return an error). Why not just
reinstate that behavior instead?
There's doesn't seem to be any reason to implement the single-register
case unless there is some legacy use of it. There's a good reason gdb
tends to use the "register block" thing, and it tends to be easier to
implement too (no crazy case statements etc).
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists