From: Harvey Harrison <harvey.harrison@gmail.com>
To: David Howells <dhowells@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 5/9] frv: gdb-stub.c use the common ascii hex helpers
Date: Fri, 09 May 2008 10:28:03 -0700 [thread overview]
Message-ID: <1210354083.24092.5.camel@brick> (raw)
In-Reply-To: <14697.1210334828@redhat.com>
On Fri, 2008-05-09 at 13:07 +0100, David Howells wrote:
> Harvey Harrison <harvey.harrison@gmail.com> wrote:
>
> > Everyone rolls their own version around the tree, centralize
> > in lib/hexdump.c
>
> Can you instruct that these are only to be used for GDB stubs? Otherwise if
> someone slaps a breakpoint in there accidentally, they might kill the GDB
> stub.
>
This isn't a problem for hex_asc_{hi|lo} obviously, just the
hexchar_to_int function, I've been looking at making this available in
another way due to its similarity to simple_strtol etc (akpm noticed).
So the hex_asc_hi/lo helpers are probably useful as-is. I'll make
sure to note the effects on gdb as you've pointed out when I send
out the revised usage.
Cheers,
Harvey
prev parent reply other threads:[~2008-05-09 17:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-01 23:05 [PATCH 5/9] frv: gdb-stub.c use the common ascii hex helpers Harvey Harrison
2008-05-02 2:09 ` David Howells
2008-05-02 2:14 ` Harvey Harrison
2008-05-09 12:07 ` David Howells
2008-05-09 17:28 ` Harvey Harrison [this message]
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=1210354083.24092.5.camel@brick \
--to=harvey.harrison@gmail.com \
--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