From patchwork Wed Apr 15 14:25:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 47198 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 017C42121F for ; Wed, 15 Apr 2015 14:26:10 +0000 (UTC) Received: by lbcne10 with SMTP id ne10sf9953443lbc.1 for ; Wed, 15 Apr 2015 07:26:08 -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:mailing-list :precedence:list-id:list-unsubscribe:list-subscribe:list-archive :list-post:list-help:sender:delivered-to:from:to:subject:date :message-id:x-original-sender:x-original-authentication-results; bh=/zMdwMwidtUwHjZyzC3tVAsRtnYjXkDHeGXDh1VD/m0=; b=CFU/18v17CrSAs+2qhm5UYaRahUE+OzvlRhYexh1ywP62E5xxVnfmT9mieSFtGmrIR WL34osiGt9NHXYXbaCsEFB7zv+62/4GVM8y/TED3geAIX1+rKJT1MuYxgnDc36i4jaYq +Swv/jJ3Toda3hJN5ilbpdTfbxZOXEUdBoqhXCh47BUWIddcIandkW1qwu+zZhHha0Z1 8brA/IGzqWXF5GqpfesRbw/AeNHxqB2yoax8lNqT9GIKhRIMIpwVVUUXFUc3XeRIXTgM ZG7yub/rsRgB2lAmbJqoHN7yciUk/QkKQmQZVJJW5gYAiLmvFtH5cnM+y7LizHQRgO7w Bf4w== X-Gm-Message-State: ALoCoQleCu1bI9w9V//0vpZjd8WJvlS0p1Y6C8si+PVXdRWzddqI0j+uWsCGrlHUjHZZMlBs+vV4 X-Received: by 10.152.88.73 with SMTP id be9mr5424016lab.2.1429107968895; Wed, 15 Apr 2015 07:26:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.71 with SMTP id la7ls190838lab.25.gmail; Wed, 15 Apr 2015 07:26:08 -0700 (PDT) X-Received: by 10.152.225.133 with SMTP id rk5mr24341751lac.14.1429107968751; Wed, 15 Apr 2015 07:26:08 -0700 (PDT) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com. [2a00:1450:4010:c03::234]) by mx.google.com with ESMTPS id y11si4018595lbm.131.2015.04.15.07.26.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2015 07:26:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::234 as permitted sender) client-ip=2a00:1450:4010:c03::234; Received: by layy10 with SMTP id y10so34028043lay.0 for ; Wed, 15 Apr 2015 07:26:08 -0700 (PDT) X-Received: by 10.112.162.232 with SMTP id yd8mr23650935lbb.41.1429107968590; Wed, 15 Apr 2015 07:26:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp2548177lbt; Wed, 15 Apr 2015 07:26:07 -0700 (PDT) X-Received: by 10.68.94.197 with SMTP id de5mr47007897pbb.57.1429107966786; Wed, 15 Apr 2015 07:26:06 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id bs5si7317678pdb.127.2015.04.15.07.26.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2015 07:26:06 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-return-121980-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 61693 invoked by alias); 15 Apr 2015 14:25:59 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Subscribe: List-Archive: List-Post: , List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 61683 invoked by uid 89); 15 Apr 2015 14:25:58 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 15 Apr 2015 14:25:57 +0000 Received: by pdbnk13 with SMTP id nk13so54388155pdb.0 for ; Wed, 15 Apr 2015 07:25:55 -0700 (PDT) X-Received: by 10.66.159.193 with SMTP id xe1mr11755430pab.48.1429107955435; Wed, 15 Apr 2015 07:25:55 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id nl16sm4335970pdb.56.2015.04.15.07.25.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Apr 2015 07:25:54 -0700 (PDT) From: Yao Qi To: gdb-patches@sourceware.org Subject: [obv] [arm] Update displaced stepping debug message Date: Wed, 15 Apr 2015 15:25:47 +0100 Message-Id: <1429107947-12262-1-git-send-email-qiyaoltc@gmail.com> X-IsSubscribed: yes X-Original-Sender: qiyaoltc@gmail.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::234 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com X-Google-Group-Id: 836684582541 From: Yao Qi When I "set debug displaced 1" to fix fail in gdb.base/disp-step-syscall.exp, the debug message is wrong. This patch is to fix it. I'll commit it. gdb: 2015-04-15 Yao Qi * arm-linux-tdep.c (arm_linux_copy_svc): Update debug message. --- gdb/arm-linux-tdep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 16e8f44..b6757bd 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -1022,8 +1022,7 @@ arm_linux_copy_svc (struct gdbarch *gdbarch, struct regcache *regs, "sigreturn/rt_sigreturn\n"); } else if (debug_displaced) - fprintf_unfiltered (gdb_stdlog, "displaced: sigreturn/rt_sigreturn " - "SVC call not in signal trampoline frame\n"); + fprintf_unfiltered (gdb_stdlog, "displaced: found SVC call\n"); /* Preparation: If we detect sigreturn, set momentary breakpoint at resume location, else nothing.