aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-08 01:34:12 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-08 01:34:12 +0000
commit5bbd998e61b090489407086b72dba187aab37263 (patch)
tree90d3dac210f805c88bd39005e7a42a6710003a00
parent21b9b5b1ca05619ad399b3d746e71e844ab1bb2b (diff)
downloadgdb-5bbd998e61b090489407086b72dba187aab37263.zip
gdb-5bbd998e61b090489407086b72dba187aab37263.tar.gz
gdb-5bbd998e61b090489407086b72dba187aab37263.tar.bz2
2002-01-07 Michael Snyder <msnyder@redhat.com>
* thread-db.c (thread_db_new_objfile): Indendation fix.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/thread-db.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f6b07d1..028960b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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,
diff --git a/gdb/thread-db.c b/gdb/thread-db.c
index a704924..df06f3c 100644
--- a/gdb/thread-db.c
+++ b/gdb/thread-db.c
@@ -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. */