From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9980 invoked by alias); 2 Jul 2009 15:11:09 -0000 Received: (qmail 9970 invoked by uid 22791); 2 Jul 2009 15:11:08 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_21,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f210.google.com (HELO mail-fx0-f210.google.com) (209.85.220.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jul 2009 15:11:01 +0000 Received: by fxm6 with SMTP id 6so1747091fxm.24 for ; Thu, 02 Jul 2009 08:10:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.110.200 with SMTP id o8mr159623fap.56.1246547458397; Thu, 02 Jul 2009 08:10:58 -0700 (PDT) Date: Thu, 02 Jul 2009 15:11:00 -0000 Message-ID: <8502af3c0907020810k766a9873qc32552180d5fdc64@mail.gmail.com> Subject: Re: Problem with "watch" on a new port. From: Florent DEFAY To: vladimir@codesourcery.com, gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2009-07/txt/msg00010.txt.bz2 Thank you. >This suggest you did not define, or improperly defined, the >to_stopped_by_watchpoint or to_stopped_data_address or >to_watchpoint_address_withing_range target methods. I take inspiration from or1k and I do not find these target methods implemented. I found them nowhere but in i386 arch, in i386-nat.c. I do not understand the link between i386-nat.c and the t-dep file. For my arch, I implemented a t-dep only. How to add a nat? Is it really necessary? >> and assignment of results_16[0] not detected. > >Is this variable actually modified *before* the execution leaves >the current scope? Yes it is. Regards. Florent