lkml.org 
[lkml]   [2004]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [1/3] kgdb-lite for 2.6.3
Date
On Sunday 22 of February 2004 21:22, Sam Ravnborg wrote:
> Just some random comments after browsing the code.
>
> Sam
>
> > +
> > +int kgdb_hexToLong(char **ptr, long *longValue);
>
> A patch has been posted by Tom Rini to convert this to the
> linux naming: kgdb_hex2long(...).
>
> +static const char hexchars[] = "0123456789abcdef";
> Grepping after 0123456789 in the src tree gives a lot of hits.
> Maybe we should pull in some functionality from klibc, and place it in lib/
> at some point in time.

It is already there, in lib/vsprintf.c: simple_strtoul() and simple_strtol().

--bart

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.039 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site