mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 13:53:29 +08:00
* 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:
@ -1,3 +1,10 @@
|
|||||||
|
2006-10-19 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2006-10-19 Joel Brobecker <brobecker@adacore.com>
|
2006-10-19 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* solib.c (libpthread_solib_p): New function.
|
* solib.c (libpthread_solib_p): New function.
|
||||||
|
@ -599,6 +599,10 @@ check_for_thread_db (void)
|
|||||||
if (!target_has_execution)
|
if (!target_has_execution)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/* Don't attempt to use thread_db for remote targets. */
|
||||||
|
if (!target_can_run (¤t_target))
|
||||||
|
return;
|
||||||
|
|
||||||
/* Initialize the structure that identifies the child process. */
|
/* Initialize the structure that identifies the child process. */
|
||||||
proc_handle.pid = GET_PID (inferior_ptid);
|
proc_handle.pid = GET_PID (inferior_ptid);
|
||||||
|
|
||||||
|
@ -6126,8 +6126,7 @@ remote_new_objfile (struct objfile *objfile)
|
|||||||
remote_check_symbols (objfile);
|
remote_check_symbols (objfile);
|
||||||
}
|
}
|
||||||
/* Call predecessor on chain, if any. */
|
/* Call predecessor on chain, if any. */
|
||||||
if (remote_new_objfile_chain != 0 &&
|
if (remote_new_objfile_chain)
|
||||||
remote_desc == 0)
|
|
||||||
remote_new_objfile_chain (objfile);
|
remote_new_objfile_chain (objfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user