This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
utils.c: Comment typo
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: gdb-patches at sourceware dot org
- Cc: Chris Dearman <chris at mips dot com>
- Date: Fri, 30 Mar 2007 10:31:33 +0100 (BST)
- Subject: utils.c: Comment typo
Hello,
2007-03-30 Chris Dearman <chris@mips.com>
* utils.c (string_to_core_addr): Comment typo.
Applied as obvious.
Maciej
12224-2.diff
Index: binutils-quilt/src/gdb/utils.c
===================================================================
--- binutils-quilt.orig/src/gdb/utils.c 2007-03-30 10:01:35.000000000 +0100
+++ binutils-quilt/src/gdb/utils.c 2007-03-30 10:07:07.000000000 +0100
@@ -2842,7 +2842,7 @@
CORE_ADDR addr = 0;
if (my_string[0] == '0' && tolower (my_string[1]) == 'x')
{
- /* Assume that it is in decimal. */
+ /* Assume that it is in hex. */
int i;
for (i = 2; my_string[i] != '\0'; i++)
{