From: Michael Snyder Date: Tue, 8 Jan 2002 01:34:12 +0000 (+0000) Subject: 2002-01-07 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5bbd998e61b090489407086b72dba187aab37263;p=binutils-gdb.git 2002-01-07 Michael Snyder * thread-db.c (thread_db_new_objfile): Indendation fix. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f6b07d1f4b8..028960b5209 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2002-01-07 Michael Snyder + * 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 a704924c2e0..df06f3c8b79 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. */