[commit] Whitespace and comment fixes to linux-thread-db.c

Doug Evans dje@google.com
Tue May 10 18:47:00 GMT 2011


Hi.

Committed.

2011-05-10  Doug Evans  <dje@google.com>

	* linux-thread-db.c: Whitespace cleanup.
	(try_thread_db_load_1): Fix comment.

Index: linux-thread-db.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-thread-db.c,v
retrieving revision 1.83
diff -u -p -r1.83 linux-thread-db.c
--- linux-thread-db.c	10 May 2011 16:53:21 -0000	1.83
+++ linux-thread-db.c	10 May 2011 18:44:06 -0000
@@ -97,7 +97,6 @@ show_libthread_db_debug (struct ui_file 
   fprintf_filtered (file, _("libthread-db debugging is %s.\n"), value);
 }
 
-
 /* If we're running on GNU/Linux, we must explicitly attach to any new
    threads.  */
 
@@ -650,7 +649,7 @@ dladdr_to_soname (const void *addr)
   return NULL;
 }
 
-/* Attempt to initialize dlopen()ed libthread_db, described by HANDLE.
+/* Attempt to initialize dlopen()ed libthread_db, described by INFO.
    Return 1 on success.
    Failure could happen if libthread_db does not have symbols we expect,
    or when it refuses to work with the current inferior (e.g. due to
@@ -813,7 +812,6 @@ try_thread_db_load (const char *library)
   return 0;
 }
 
-
 /* Search libthread_db_search_path for libthread_db which "agrees"
    to work on current inferior.  */
 



More information about the Gdb-patches mailing list