mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-07 18:01:18 +00:00
* linux-thread-db.c (check_for_thread_db): Return early if we have
no libthread_db support.
This commit is contained in:
parent
15ab5209f3
commit
b5057acde3
@ -1,3 +1,8 @@
|
||||
2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* linux-thread-db.c (check_for_thread_db): Return early if we have
|
||||
no libthread_db support.
|
||||
|
||||
2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* mi/mi-parse.h: Include <sys/time.h>.
|
||||
|
@ -581,6 +581,10 @@ check_for_thread_db (void)
|
||||
td_err_e err;
|
||||
static int already_loaded;
|
||||
|
||||
/* Do nothing if we couldn't load libthread_db.so.1. */
|
||||
if (td_ta_new_p == NULL)
|
||||
return;
|
||||
|
||||
/* First time through, report that libthread_db was successfuly
|
||||
loaded. Can't print this in in thread_db_load as, at that stage,
|
||||
the interpreter and it's console haven't started. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user