This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] thread-db.c, indentation fix.
- From: Michael Snyder <msnyder at redhat dot com>
- To: Michael Snyder <msnyder at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 07 Jan 2002 17:45:21 -0800
- Subject: Re: [PATCH] thread-db.c, indentation fix.
- Organization: Red Hat, Inc.
- References: <200201080129.g081Tk900359@reddwarf.cygnus.com>
Michael Snyder wrote:
> ...
Oh hell, try that again...
2002-01-07 Michael Snyder <msnyder@redhat.com>
* thread-db.c (thread_db_new_objfile): Indendation fix.
Index: thread-db.c
===================================================================
RCS file: /cvs/src/src/gdb/thread-db.c,v
retrieving revision 1.19
diff -p -r1.19 thread-db.c
*** thread-db.c 2002/01/05 01:46:30 1.19
--- thread-db.c 2002/01/08 01:32:28
*************** thread_db_new_objfile (struct objfile *o
*** 482,490 ****
{
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)
{
/* All symbols have been discarded. If the thread_db target is
active, deactivate it now. */
--- 482,490 ----
{
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)
{
/* All symbols have been discarded. If the thread_db target is
active, deactivate it now. */