From: Linus Torvalds <torvalds@linux-foundation.org>
To: David Howells <dhowells@redhat.com>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] FRV: Implement the GDB remote protocol 'p' command to retrieve a register
Date: Wed, 9 Jun 2010 09:48:06 -0700 (PDT) [thread overview]
Message-ID: <alpine.LFD.2.00.1006090945531.4506@i5.linux-foundation.org> (raw)
In-Reply-To: <20100609161909.18222.78028.stgit@warthog.procyon.org.uk>
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
next prev parent reply other threads:[~2010-06-09 16:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 16:19 David Howells
2010-06-09 16:48 ` Linus Torvalds [this message]
2010-06-09 18:23 ` Frank Ch. Eigler
2010-06-09 18:29 ` Linus Torvalds
2010-06-28 4:05 ` Jason Wessel
2010-06-09 18:50 ` David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.1006090945531.4506@i5.linux-foundation.org \
--to=torvalds@linux-foundation.org \
--cc=akpm@linux-foundation.org \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome