2002-01-07 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 8 Jan 2002 01:34:12 +0000 (01:34 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 8 Jan 2002 01:34:12 +0000 (01:34 +0000)
* thread-db.c (thread_db_new_objfile): Indendation fix.

gdb/ChangeLog
gdb/thread-db.c

index f6b07d1..028960b 100644 (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, 
index a704924..df06f3c 100644 (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.  */