This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: add bare_board variable
On Wed, Jul 19, 2006 at 05:18:56PM +0100, Nathan Sidwell wrote:
> >Do you think that start should work for remote targets, and be
> >equivalent to "tbreak main; continue" instead of "tbreak main; run"?
> >Or maybe it should issue an error instead of trying to run?
>
> Although 'tbreak main; continue' would be nice, it'll only work after a
> load, otherwise the state won't be right. Or, can gdb pull the entry point
> address out of the current file and do 'tbreak main; j *<addr>' ?
It could... but who knows where you'd end up? We've seen that
sometimes more of a reset is needed. I guess we should make it issue a
sensible error, and allow the test to pass when it sees that error.
--
Daniel Jacobowitz
CodeSourcery