From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3524 invoked by alias); 1 Dec 2006 21:39:03 -0000 Received: (qmail 3515 invoked by uid 22791); 1 Dec 2006 21:39:03 -0000 X-Spam-Check-By: sourceware.org Received: from smtp2.caviumnetworks.com (HELO smtp2.caviumnetworks.com) (209.113.159.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Dec 2006 21:38:56 +0000 Received: from exch4.caveonetworks.com (Not Verified[192.168.16.23]) by smtp2.caviumnetworks.com with NetIQ MailMarshal (v6,0,3,8) id ; Fri, 01 Dec 2006 16:39:02 -0500 Received: from localhost.localdomain ([64.169.86.201]) by exch4.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 1 Dec 2006 13:38:53 -0800 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.7/8.13.7/Debian-2) with ESMTP id kB1Lcrs9018936 for ; Fri, 1 Dec 2006 13:38:53 -0800 Received: (from anemet@localhost) by localhost.localdomain (8.13.7/8.13.7/Submit) id kB1LcrLb018933; Fri, 1 Dec 2006 13:38:53 -0800 From: Adam Nemet MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17776.41195.148450.896980@localhost.localdomain> Date: Fri, 01 Dec 2006 21:39:00 -0000 To: gdb-patches@sourceware.org Subject: [PATCH] Typo in debug_to_remove_watchpoint X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid 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: 2006-12/txt/msg00006.txt.bz2 It seems there is a cut-and-paste bug in debug_to_remove_watchpoint. Please apply if OK. Adam 2006-12-01 Adam Nemet * target.c (debug_to_remove_watchpoint): Call to_remove_watchpoint. Print target_remove_watchpoint. Index: target.c =================================================================== RCS file: /cvs/src/src/gdb/target.c,v retrieving revision 1.129 diff -F^\([(a-zA-Z0-9_]\|#define\) -u -p -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.129 target.c --- target.c 21 Nov 2006 16:50:16 -0000 1.129 +++ target.c 1 Dec 2006 21:28:33 -0000 @@ -2360,10 +2360,10 @@ debug_to_remove_watchpoint (CORE_ADDR ad { int retval; - retval = debug_target.to_insert_watchpoint (addr, len, type); + retval = debug_target.to_remove_watchpoint (addr, len, type); fprintf_unfiltered (gdb_stdlog, - "target_insert_watchpoint (0x%lx, %d, %d) = %ld\n", + "target_remove_watchpoint (0x%lx, %d, %d) = %ld\n", (unsigned long) addr, len, type, (unsigned long) retval); return retval; }