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:
parent
b62818f6d8
commit
356374e821
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* thread-db.c (thread_db_new_objfile): Do not enable thread_db
|
||||
for core files.
|
||||
|
||||
2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
|
||||
|
||||
* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue