From: Michael Snyder Date: Tue, 8 Jan 2002 01:34:12 +0000 (+0000) Subject: 2002-01-07 Michael Snyder X-Git-Tag: binutils-2_12-branchpoint~570 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5bbd998e61b090489407086b72dba187aab37263;p=platform%2Fupstream%2Fbinutils.git 2002-01-07 Michael Snyder * thread-db.c (thread_db_new_objfile): Indendation fix. --- 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 + * 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. */