From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107495 invoked by alias); 17 Apr 2015 01:15:59 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 107449 invoked by uid 89); 17 Apr 2015 01:15:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f43.google.com Received: from mail-la0-f43.google.com (HELO mail-la0-f43.google.com) (209.85.215.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 17 Apr 2015 01:15:55 +0000 Received: by layy10 with SMTP id y10so69420601lay.0 for ; Thu, 16 Apr 2015 18:15:52 -0700 (PDT) X-Received: by 10.153.5.36 with SMTP id cj4mr385959lad.69.1429233352220; Thu, 16 Apr 2015 18:15:52 -0700 (PDT) Received: from octofox.metropolis ([5.19.183.212]) by mx.google.com with ESMTPSA id k15sm2053207laa.28.2015.04.16.18.15.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Apr 2015 18:15:51 -0700 (PDT) From: Max Filippov To: gdb@sourceware.org Cc: Maxim Grigoriev , Woody LaRue , Marc Gauthier , linux-xtensa@linux-xtensa.org, Daniel Jacobowitz , Pedro Alves , Max Filippov Subject: [PATCH 2/2] gdbserver/xtensa: fix typo in XCHAL_HAVE_LOOPS Date: Fri, 17 Apr 2015 01:15:00 -0000 Message-Id: <1429233286-6240-3-git-send-email-jcmvbkbc@gmail.com> In-Reply-To: <1429233286-6240-1-git-send-email-jcmvbkbc@gmail.com> References: <1429233286-6240-1-git-send-email-jcmvbkbc@gmail.com> X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00032.txt.bz2 This fixes lbeg/lend/lcount registers handling through gdbserver. 2015-04-17 Max Filippov gdb/gdbserver/ * linux-xtensa-low.c (xtensa_fill_gregset, xtensa_store_gregset): fix typo in XCHAL_HAVE_LOOPS --- gdb/gdbserver/linux-xtensa-low.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c index e786da5..4daccee 100644 --- a/gdb/gdbserver/linux-xtensa-low.c +++ b/gdb/gdbserver/linux-xtensa-low.c @@ -59,7 +59,7 @@ xtensa_fill_gregset (struct regcache *regcache, void *buf) /* Loop registers, if hardware has it. */ -#if XCHAL_HAVE_LOOP +#if XCHAL_HAVE_LOOPS collect_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]); collect_register_by_name (regcache, "lend", (char*)&rset[R_LEND]); collect_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]); @@ -94,7 +94,7 @@ xtensa_store_gregset (struct regcache *regcache, const void *buf) /* Loop registers, if hardware has it. */ -#if XCHAL_HAVE_LOOP +#if XCHAL_HAVE_LOOPS supply_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]); supply_register_by_name (regcache, "lend", (char*)&rset[R_LEND]); supply_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]); -- 1.8.1.4