This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Reduce target_thread_alive calls on GNU/Linux


On Mon, May 07, 2007 at 09:27:01AM +0200, Mark Kettenis wrote:
> I think there is a missing "if" in that comment.

Right you are.  Sorry about that; fixed as attached.

-- 
Daniel Jacobowitz
CodeSourcery

2007-05-11  Daniel Jacobowitz  <dan@codesourcery.com>

	* linux-thread-db.c (enable_thread_event_reporting): Fix comment
	typo.

Index: linux-thread-db.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-thread-db.c,v
retrieving revision 1.27
diff -u -p -r1.27 linux-thread-db.c
--- linux-thread-db.c	7 May 2007 00:46:42 -0000	1.27
+++ linux-thread-db.c	11 May 2007 17:42:16 -0000
@@ -482,7 +482,7 @@ enable_thread_event_reporting (void)
 
 #ifdef HAVE_GNU_LIBC_VERSION_H
   /* The event reporting facility is broken for TD_DEATH events in
-     glibc 2.1.3, so don't enable it we have glibc but a lower
+     glibc 2.1.3, so don't enable it if we have glibc but a lower
      version.  */
   libc_version = gnu_get_libc_version ();
   if (sscanf (libc_version, "%d.%d", &libc_major, &libc_minor) == 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]