Andrew STUBBS wrote:
> Well, it works for me (target sh-elf), but maybe I'm
using a more recent
> GDB or something.
>
> Anyway, obviously it isn't working for you, so try
this:
>
> gdb --batch-silent
> --return-child-result
> -ex "target sim"
> -ex load
> -ex run
> a.out
Thank you very much. The "--return-child-result"
option works for me too.
Thanks,
Swami
|