This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
comment fixes in defs.h, target.c
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Thu, 10 Jan 2008 16:14:17 -0800 (PST)
- Subject: comment fixes in defs.h, target.c
Checked in as obvious.
2008-01-10 Doug Evans <dje@google.com>
* defs.h (struct continuation_arg): Fix typo in comment.
* target.c (target_translate_tls_address): Fix comment spelling error.
Index: defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.214
diff -u -p -u -p -r1.214 defs.h
--- defs.h 1 Jan 2008 22:53:09 -0000 1.214
+++ defs.h 11 Jan 2008 00:09:16 -0000
@@ -706,7 +706,7 @@ extern void free_command_lines (struct c
/* To continue the execution commands when running gdb asynchronously.
A continuation structure contains a pointer to a function to be called
to finish the command, once the target has stopped. Such mechanism is
- used bt the finish and until commands, and in the remote protocol
+ used by the finish and until commands, and in the remote protocol
when opening an extended-remote connection. */
struct continuation_arg
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.152
diff -u -p -u -p -r1.152 target.c
--- target.c 1 Jan 2008 22:53:13 -0000 1.152
+++ target.c 11 Jan 2008 00:09:16 -0000
@@ -804,7 +804,7 @@ pop_target (void)
internal_error (__FILE__, __LINE__, _("failed internal consistency check"));
}
-/* Using the objfile specified in BATON, find the address for the
+/* Using the objfile specified in OBJFILE, find the address for the
current thread's thread-local storage with offset OFFSET. */
CORE_ADDR
target_translate_tls_address (struct objfile *objfile, CORE_ADDR offset)