From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19794 invoked by alias); 30 Dec 2009 19:48:27 -0000 Received: (qmail 19785 invoked by uid 22791); 30 Dec 2009 19:48:27 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Dec 2009 19:48:21 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 0F0462BAB87; Wed, 30 Dec 2009 14:48:20 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ldZGcnr-DMG1; Wed, 30 Dec 2009 14:48:19 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 7BE9A2BAB4D; Wed, 30 Dec 2009 14:48:19 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id E0A33F5937; Wed, 30 Dec 2009 20:47:50 +0100 (CET) Date: Wed, 30 Dec 2009 19:48:00 -0000 From: Joel Brobecker To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org, Luis Machado Subject: Re: [RFA] Fix verification of changed values for big values. Message-ID: <20091230194750.GI2788@adacore.com> References: <200912232142.37008.bauerman@br.ibm.com> <20091224044125.GW2788@adacore.com> <200912301538.04119.bauerman@br.ibm.com> <20091230192123.GH2788@adacore.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="IrhDeMKUP4DT/M7F" Content-Disposition: inline In-Reply-To: <20091230192123.GH2788@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00446.txt.bz2 --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 195 > Patch attached. [trying to fight sleepiness.......] 2009-12-30 Joel Brobecker * breakpoint.c (watchpoint_check): Expand the function description. -- Joel --IrhDeMKUP4DT/M7F Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="bp-comment.diff" Content-length: 738 Index: breakpoint.c =================================================================== RCS file: /cvs/src/src/gdb/breakpoint.c,v retrieving revision 1.443 diff -u -p -r1.443 breakpoint.c --- breakpoint.c 30 Dec 2009 17:33:33 -0000 1.443 +++ breakpoint.c 30 Dec 2009 19:13:44 -0000 @@ -3174,7 +3174,10 @@ watchpoints_triggered (struct target_wai #define BP_TEMPFLAG 1 #define BP_HARDWAREFLAG 2 -/* Evaluate watchpoint condition expression and check if its value changed. */ +/* Evaluate watchpoint condition expression and check if its value changed. + + P should be a pointer to struct bpstat, but is defined as a void * + in order for this function to be usable with catch_errors. */ static int watchpoint_check (void *p) --IrhDeMKUP4DT/M7F--