2002-01-07 Michael Snyder <msnyder@redhat.com>

* thread-db.c (thread_db_new_objfile): Indendation fix.
This commit is contained in:
Michael Snyder 2002-01-08 01:34:12 +00:00
parent 21b9b5b1ca
commit 5bbd998e61
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2002-01-07 Michael Snyder <msnyder@redhat.com>
* thread-db.c (thread_db_new_objfile): Indendation fix.
* infptrace.c (GDB_MAX_ALLOCA): New define.
(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,

View File

@ -482,9 +482,9 @@ thread_db_new_objfile (struct objfile *objfile)
{
td_err_e err;
/* Don't attempt to use thread_db on targets which can not run
(core files). */
if (objfile == NULL || !target_has_execution)
/* 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. */