From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18583 invoked by alias); 20 Jan 2009 08:36:29 -0000 Received: (qmail 18573 invoked by uid 22791); 20 Jan 2009 08:36:29 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_40 X-Spam-Check-By: sourceware.org Received: from www.iap-online.com (HELO www.iap-online.com) (69.20.70.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Jan 2009 08:36:26 +0000 Received: from www.iap-online.com (localhost [127.0.0.1]) by www.iap-online.com (8.12.11.20060308/8.12.11) with ESMTP id n0K8aMVn032704 for ; Tue, 20 Jan 2009 03:36:22 -0500 Received: (from apache@localhost) by www.iap-online.com (8.12.11.20060308/8.12.11/Submit) id n0K8aMRx032702; Tue, 20 Jan 2009 03:36:22 -0500 Received: from 210.143.35.18 (SquirrelMail authenticated user raja.saleru) by www.iap-online.com with HTTP; Tue, 20 Jan 2009 03:36:22 -0500 (EST) Message-ID: <43762.210.143.35.18.1232440582.squirrel@www.iap-online.com> In-Reply-To: <17669.210.143.35.18.1231238130.squirrel@www.iap-online.com> References: <33036.210.143.35.19.1225860010.squirrel@www.iap-online.com> <59596.210.143.35.18.1226650013.squirrel@www.iap-online.com> <28893.210.143.35.18.1227662837.squirrel@www.iap-online.com> <17669.210.143.35.18.1231238130.squirrel@www.iap-online.com> Date: Tue, 20 Jan 2009 08:36:00 -0000 Subject: info watch command From: raja.saleru@iap-online.com To: gdb@sourceware.org User-Agent: SquirrelMail/1.4.8-6.el3 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: mscopy 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-01/txt/msg00113.txt.bz2 Hi, I am having query on "info watch command". consider the below sample (gdb) watch x Hardware watchpoint 2: x (gdb) rwatch y Hardware read watchpoint 3: y (gdb) awatch c Hardware access (read/write) watchpoint 4: c (gdb) info watch Num Type Disp Enb Address What 1 breakpoint keep y 0x00000542 in main at test.c:10 breakpoint already hit 1 time 2 hw watchpoint keep y x 3 read watchpoint keep y y 4 acc watchpoint keep y c by default, it will be hardware watchpoint. for the "info watch" command, only for watch it is showing as "hw watchpoint". however why it is not differentiated for rwatch as "read watchpoint" "hw read watchpoint" ? similarly for awatch. For write watchpoint, there is differentiation. Thanks in advance Raja Saleru