This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Replace deprecated_target_new_objfile_hook by observer?
On Wed, Oct 18, 2006 at 06:29:02PM +0200, Ulrich Weigand wrote:
> + /* Don't attempt to use thread_db for remote targets. */
> + if (!target_can_run (¤t_target))
> + return;
> +
That's clever! I hadn't thought of using to_can_run that way. I think
that should be fine. If we want to restructure to_can_run later, then
it's easy enough to change.
--
Daniel Jacobowitz
CodeSourcery