qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: gang.chen.5i5j@gmail.com, riku.voipio@iki.fi, peter.maydell@linaro.org
Cc: qemu-devel@nongnu.org, xili_gchen_5257@hotmail.com
Subject: Re: [Qemu-devel] [PATCH] linux-user/signal.c: Fix several issues for target alpha
Date: Mon, 14 Sep 2015 10:13:00 -0700	[thread overview]
Message-ID: <55F7001C.2020502@twiddle.net> (raw)
In-Reply-To: <1442114116-6146-1-git-send-email-gang.chen.5i5j@gmail.com>

On 09/12/2015 08:15 PM, gang.chen.5i5j@gmail.com wrote:
>      env->ir[IR_RA] = r26;
>      env->ir[IR_PV] = env->pc = ka->_sa_handler;
>      env->ir[IR_A0] = sig;
>      env->ir[IR_A1] = 0;
>      env->ir[IR_A2] = frame_addr + offsetof(struct target_sigframe, sc);
>      env->ir[IR_SP] = frame_addr;
> +
> +give_sigsegv:
> +    if (sig == TARGET_SIGSEGV) {
> +        ka->_sa_handler = TARGET_SIG_DFL;
> +    }
> +    force_sig(TARGET_SIGSEGV);
>  }

Fallthrough into the sigsegv handler?
That's clearly wrong.


r~

       reply	other threads:[~2015-09-14 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1442114116-6146-1-git-send-email-gang.chen.5i5j@gmail.com>
2015-09-14 17:13 ` Richard Henderson [this message]
2015-09-14 18:35   ` [Qemu-devel] [PATCH] linux-user/signal.c: Fix several issues for target alpha Chen Gang

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=55F7001C.2020502@twiddle.net \
    --to=rth@twiddle.net \
    --cc=gang.chen.5i5j@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=xili_gchen_5257@hotmail.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;
as well as URLs for NNTP newsgroup(s).