mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* thread-db.c (thread_db_new_objfile): Do not enable thread_db for core files.
This commit is contained in:
@ -482,7 +482,9 @@ thread_db_new_objfile (struct objfile *objfile)
|
||||
{
|
||||
td_err_e err;
|
||||
|
||||
if (objfile == NULL)
|
||||
/* Don't attempt to use thread_db on targets which can not run
|
||||
(core files). */
|
||||
if (objfile == NULL || !target_has_execution)
|
||||
{
|
||||
/* All symbols have been discarded. If the thread_db target is
|
||||
active, deactivate it now. */
|
||||
|
Reference in New Issue
Block a user