* linux-thread-db.c: Whitespace cleanup.

(try_thread_db_load_1): Fix comment.
This commit is contained in:
Doug Evans 2011-05-10 18:45:22 +00:00
parent 84e578fbe6
commit 2471d0083c
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2011-05-10 Doug Evans <dje@google.com>
* linux-thread-db.c: Whitespace cleanup.
(try_thread_db_load_1): Fix comment.
* linux-thread-db.c (set_libthread_db_search_path): New function.
(_initialize_thread_db): Add setter for libthread-db-search-path.

View File

@ -97,7 +97,6 @@ show_libthread_db_debug (struct ui_file *file, int from_tty,
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. */