From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7785 invoked by alias); 1 Jul 2009 09:10:42 -0000 Received: (qmail 7769 invoked by uid 22791); 1 Jul 2009 09:10:41 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f228.google.com (HELO mail-bw0-f228.google.com) (209.85.218.228) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jul 2009 09:10:34 +0000 Received: by bwz28 with SMTP id 28so321544bwz.24 for ; Wed, 01 Jul 2009 02:10:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.113.68 with SMTP id z4mr5946115fap.72.1246439431051; Wed, 01 Jul 2009 02:10:31 -0700 (PDT) Date: Wed, 01 Jul 2009 09:10:00 -0000 Message-ID: <8502af3c0907010210j519bbdcbh17341eb353e8a921@mail.gmail.com> Subject: Problem with "watch" on a new port. From: Florent DEFAY To: 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/msg00002.txt.bz2 Hi, I am working on a new port for a 16 bit machine. step, stepi, next, nexti, breakpoints work well. The problems come with "watch", it does not work : (gdb) watch i Hardware watchpoint 2: i (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x00000174 in main () at main.c:67 67 for (i = 0; i < 10; i++) (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x0000019c in main () at main.c:67 67 for (i = 0; i < 10; i++) (gdb) or (gdb) watch results_16[0] (gdb) c Continuing. and assignment of results_16[0] not detected. I do not know where to begin to solve this problem. Please, have you any clue? Regards. Florent