From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1727 invoked by alias); 9 Aug 2012 00:03:55 -0000 Received: (qmail 1719 invoked by uid 22791); 9 Aug 2012 00:03:55 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Aug 2012 00:03:34 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1SzGDs-0001XR-TI from Luis_Gustavo@mentor.com ; Wed, 08 Aug 2012 17:03:33 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Aug 2012 17:03:31 -0700 Received: from [0.0.0.0] ([172.16.63.104]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Aug 2012 17:03:31 -0700 Message-ID: <5022FE78.4080904@mentor.com> Date: Thu, 09 Aug 2012 00:03:00 -0000 From: Luis Gustavo Reply-To: "Gustavo, Luis" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 To: Terry Guo CC: gdb@sourceware.org Subject: Re: Hardware breakpoint limitation issue during the gdb regression test References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-08/txt/msg00022.txt.bz2 On 08/08/2012 05:55 AM, Terry Guo wrote: > Hi, > > I managed to run gdb "make check" on a real arm cortex-m3 board. > During this regression test, I saw many failures are caused by "Cannot > insert hardware breakpoint 8" and "You may have requested too many > hardware breakpoints/watchpoints". It's true that my arm board only > supports limited number breakpoints. So how to workaround this > limitation for regression test? Thanks. > > BR, > Terry > You may want to turn these off: set breakpoint auto-hw on/off set can-use-hw-watchpoints 1/0 Luis