All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4632] Copy siginfo.si_code.
Date: Fri, 30 May 2008 22:57:21 +0000	[thread overview]
Message-ID: <E1K2DXF-0006Un-1h@cvs.savannah.gnu.org> (raw)

Revision: 4632
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4632
Author:   pbrook
Date:     2008-05-30 22:57:20 +0000 (Fri, 30 May 2008)

Log Message:
-----------
Copy siginfo.si_code.

Modified Paths:
--------------
    trunk/linux-user/signal.c

Modified: trunk/linux-user/signal.c
===================================================================
--- trunk/linux-user/signal.c	2008-05-30 22:37:07 UTC (rev 4631)
+++ trunk/linux-user/signal.c	2008-05-30 22:57:20 UTC (rev 4632)
@@ -216,7 +216,7 @@
     sig = host_to_target_signal(info->si_signo);
     tinfo->si_signo = sig;
     tinfo->si_errno = 0;
-    tinfo->si_code = 0;
+    tinfo->si_code = info.si_code;
     if (sig == SIGILL || sig == SIGFPE || sig == SIGSEGV ||
         sig == SIGBUS || sig == SIGTRAP) {
         /* should never come here, but who knows. The information for

             reply	other threads:[~2008-05-30 22:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 22:57 Paul Brook [this message]
2008-05-31  3:08 ` [Qemu-devel] [4632] Copy siginfo.si_code Erik de Castro Lopo
2008-05-31 12:15   ` Paul Brook

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=E1K2DXF-0006Un-1h@cvs.savannah.gnu.org \
    --to=paul@nowt.org \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.