From: "M R Swami Reddy" <MR.Swami.Reddy@nsc.com>
To: "Andrew STUBBS" <andrew.stubbs@st.com>
Cc: gdb@sourceware.org
Subject: Re: gdb simulator exit status
Date: Fri, 18 Jan 2008 05:17:00 -0000 [thread overview]
Message-ID: <47903650.3020604@nsc.com> (raw)
In-Reply-To: <478F66D8.6000808@st.com>
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
next prev parent reply other threads:[~2008-01-18 5:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 12:42 M R Swami Reddy
2008-01-17 14:32 ` Andrew STUBBS
2008-01-18 5:17 ` M R Swami Reddy [this message]
2008-01-17 14:40 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47903650.3020604@nsc.com \
--to=mr.swami.reddy@nsc.com \
--cc=andrew.stubbs@st.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).