2004-09-14 Andrew Cagney <cagney@gnu.org>

* thread-db.c (thread_db_new_objfile): Assume that there is a
	child process.
This commit is contained in:
Andrew Cagney 2004-09-14 14:46:13 +00:00
parent 6c4182ddc9
commit 95575b2e7e
2 changed files with 7 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2004-09-14 Andrew Cagney <cagney@gnu.org>
* thread-db.c (thread_db_new_objfile): Assume that there is a
child process.
2004-09-13 Jim Blandy <jimb@redhat.com>
* valops.c (value_assign): Move 'buffer' to the enclosing block,

View file

@ -697,14 +697,8 @@ thread_db_new_objfile (struct objfile *objfile)
push_target (&thread_db_ops);
using_thread_db = 1;
/* We can only poke around if there actually is a child process.
If there is no child process alive, postpone the steps below
until one has been created. */
if (proc_handle.pid != 0)
{
enable_thread_event_reporting ();
thread_db_find_new_threads ();
}
enable_thread_event_reporting ();
thread_db_find_new_threads ();
break;
default: