[RFA] Remove unnecessary target defaults.
Pedro Alves
pedro@codesourcery.com
Fri Aug 15 13:08:00 GMT 2008
On Friday 15 August 2008 13:45:30, Vladimir Prus wrote:
> - de_fault (to_can_async_p,
> - (int (*) (void))
> - return_zero);
> - de_fault (to_is_async_p,
> - (int (*) (void))
> - return_zero);
I believe this is incorrect. You don't notice it when connected
to remote, because those methods are implemented in remote_ops. But,
when connected to e.g., remote-sim.c, and because gdbsim_ops doesn't define
those, you'll inherit the dummy target's implementation, which looks
for asyncness in the default run target instead --- while you should be
looking for asyncness in the remote-sim target.
--
Pedro Alves
More information about the Gdb-patches
mailing list