From patchwork Fri Aug 14 17:46:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 52455 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 5578D2031F for ; Fri, 14 Aug 2015 17:46:44 +0000 (UTC) Received: by labth1 with SMTP id th1sf30134574lab.2 for ; Fri, 14 Aug 2015 10:46:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=WV6YWO18a6ffh5Pec9gQDD5/JJvfKMdoeIBtoYLor40=; b=RfsiCVXdNy0CEoqBvugcS6h3oT951/Srgl0i2P2IrhqFeKPgEwmRn/EeJZOBCUN1d2 bpLjTHAAF/boNQN4GKl+C256wxOVevTCgNeENtLqA2WfJfEAcpR5zXx0s3vEz8JM12y9 RQVKDD++92hXX7fuBToBobmnetDXGE03dyBUNx400GIrnbfBiX3Q5OSXSPEkAdYDzS3c 0k0DkrLUdurueo3K43b1ClhSZ01KVyXVbdQayIa4yOtUqaW3Y+J0DPn+VWRPBiE+GLR5 SYtqYSIKQc15nT3lekVRJt8VZ7OcKMy56oQ9loemx3ttVv0RYbisgbQSy4gnAqduZVy/ lVLQ== X-Gm-Message-State: ALoCoQmwN/XSAX7n8zcSIox7mxGxRQVTnkKkHzUgEiB5ECJjIBxLiR6Gx7BwAlIhwTYVb5OGvKrI X-Received: by 10.194.93.198 with SMTP id cw6mr286787wjb.3.1439574403213; Fri, 14 Aug 2015 10:46:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.9 with SMTP id ci9ls461186lad.69.gmail; Fri, 14 Aug 2015 10:46:43 -0700 (PDT) X-Received: by 10.112.143.103 with SMTP id sd7mr9961383lbb.15.1439574403055; Fri, 14 Aug 2015 10:46:43 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id ue8si6403903lac.10.2015.08.14.10.46.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Aug 2015 10:46:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by labd1 with SMTP id d1so48216155lab.1 for ; Fri, 14 Aug 2015 10:46:43 -0700 (PDT) X-Received: by 10.152.36.102 with SMTP id p6mr44935534laj.19.1439574402939; Fri, 14 Aug 2015 10:46:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1780077lba; Fri, 14 Aug 2015 10:46:41 -0700 (PDT) X-Received: by 10.66.55.3 with SMTP id n3mr24462295pap.58.1439574399936; Fri, 14 Aug 2015 10:46:39 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id bb5si10088744pdb.94.2015.08.14.10.46.38 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 14 Aug 2015 10:46:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1ZQJ3o-00019f-Eg; Fri, 14 Aug 2015 18:46:32 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Stefan Hajnoczi , "Dr. David Alan Gilbert" , Jan Kiszka , Markus Armbruster Subject: [PATCH v2 3/4] scripts/qemu-gdb: Silently pass through SIGUSR1 Date: Fri, 14 Aug 2015 18:46:31 +0100 Message-Id: <1439574392-4403-4-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1439574392-4403-1-git-send-email-peter.maydell@linaro.org> References: <1439574392-4403-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , SIGUSR1 is QEMU's IPI signal, and it gets sent a lot, so is best silently passed through to the guest without stopping. Make qemu-gdb.py do this bit of configuration for the user. Signed-off-by: Peter Maydell --- scripts/qemu-gdb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py index 1c94b2a..f98cd21 100644 --- a/scripts/qemu-gdb.py +++ b/scripts/qemu-gdb.py @@ -34,3 +34,7 @@ class QemuCommand(gdb.Command): QemuCommand() coroutine.CoroutineCommand() mtree.MtreeCommand() + +# Default to silently passing through SIGUSR1, because QEMU sends it +# to itself a lot. +gdb.execute('handle SIGUSR1 pass noprint nostop')