* linux-thread-db.c (check_for_thread_db): Don't attempt to use

thread_db for remote targets.
	* remote.c (remote_new_objfile): Always call predecessor on
	new_objfile event chain.
This commit is contained in:
Ulrich Weigand
2006-10-20 01:08:14 +00:00
parent b7149293aa
commit f86172a554
3 changed files with 12 additions and 2 deletions

View File

@@ -599,6 +599,10 @@ check_for_thread_db (void)
if (!target_has_execution)
return;
/* Don't attempt to use thread_db for remote targets. */
if (!target_can_run (&current_target))
return;
/* Initialize the structure that identifies the child process. */
proc_handle.pid = GET_PID (inferior_ptid);