* target.c (update_current_target): Call setup_target_debug.
(push_target): Do not call it here.
This commit is contained in:
parent
cec9d2f362
commit
b4b61fdbdf
@ -1,3 +1,8 @@
|
||||
2007-10-10 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* target.c (update_current_target): Call setup_target_debug.
|
||||
(push_target): Do not call it here.
|
||||
|
||||
2007-10-09 Michael Snyder <msnyder@specifix.com>
|
||||
|
||||
* MAINTAINERS: Update my email address.
|
||||
|
@ -649,6 +649,9 @@ update_current_target (void)
|
||||
"current_target". That way code looking for a non-inherited
|
||||
target method can quickly and simply find it. */
|
||||
current_target.beneath = target_stack;
|
||||
|
||||
if (targetdebug)
|
||||
setup_target_debug ();
|
||||
}
|
||||
|
||||
/* Mark OPS as a running target. This reverses the effect
|
||||
@ -752,9 +755,6 @@ push_target (struct target_ops *t)
|
||||
|
||||
update_current_target ();
|
||||
|
||||
if (targetdebug)
|
||||
setup_target_debug ();
|
||||
|
||||
/* Not on top? */
|
||||
return (t != target_stack);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user