From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31075 invoked by alias); 6 Jul 2004 14:51:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31067 invoked from network); 6 Jul 2004 14:51:50 -0000 Received: from unknown (HELO av.mvista.com) (12.44.186.158) by sourceware.org with SMTP; 6 Jul 2004 14:51:50 -0000 Received: from mvista.com (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id HAA19646; Tue, 6 Jul 2004 07:51:46 -0700 Message-ID: <40EABB0E.7080309@mvista.com> Date: Tue, 06 Jul 2004 14:51:00 -0000 From: Cal Erickson Reply-To: cerickson@mvista.com Organization: MontaVista Software, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 MIME-Version: 1.0 To: Wolfgang Schmieder CC: gdb@sources.redhat.com Subject: Re: hardware watchpoints for ppc References: <200407041103.55619.wolfgang.schmieder@onlinehome.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00041.txt.bz2 Wolfgang, From what I know there are no hardware watchpoints available on the PPC target boards. You might just try watch which will create a software watchpoint. These do work on PPC processors. Cal Wolfgang Schmieder wrote: > Hello, > > is there anybody who knows how I can set hardware watchpoints on ppc boards ? > I have a mpc855 board running a multithreaded application. It appears that > one thread (always the same thread) has a corrupted stack (always at the same > address). I guess I need to set a hardware watchpoint in a remote debugging > session to find the piece of code which is corrupting the stack. > > There is one gdb mailing list thread about "supporting hw break/watch for > embedded ppc", which makes me think that there is at least a patch or > workaround available to set hardware watchpoints on a ppc board. > > Thanks, > > Wolfgang > > -- =========================================================================== Cal Erickson MontaVista Software Inc. Linux Consultant 1237 E. Arques Ave. Phone (408) 328-0304 Sunnyvale CA 94085 Fax (408) 328-9204 web http://www.mvista.com ===========================================================================