From: Michael Snyder <msnyder@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [preliminary patch] sim/h8300/compile.c: abort when abort is called.
Date: Tue, 24 Jun 2003 23:04:00 -0000 [thread overview]
Message-ID: <3EF8CF92.1070205@redhat.com> (raw)
In-Reply-To: <3EF87254.1060900@redhat.com>
Andrew,
Re: sim and abort/SIGABRT, I discovered something interesting when
I fixed the h8 simulator so that it would return SIGABRT to gdb.
Thanks to these lines in remote-sim.c,
case sim_stopped:
switch (sigrc)
{
case SIGABRT:
quit ();
break;
case SIGINT:
case SIGTRAP:
default:
status->kind = TARGET_WAITKIND_STOPPED;
instead of saying "program stopped with signal SIGABRT",
gdb says "Quit." and detaches from the target.
Have you any idea why it's doing that?
Michael
prev parent reply other threads:[~2003-06-24 23:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 8:14 Kazu Hirata
2003-06-24 16:18 ` Andrew Cagney
2003-06-24 23:03 ` Michael Snyder
2003-06-25 21:39 ` Kazu Hirata
2003-07-02 19:06 ` Michael Snyder
2003-06-24 23:04 ` Michael Snyder [this message]
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=3EF8CF92.1070205@redhat.com \
--to=msnyder@redhat.com \
--cc=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/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