From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14364 invoked by alias); 10 Mar 2011 08:23:20 -0000 Received: (qmail 14356 invoked by uid 22791); 10 Mar 2011 08:23:20 -0000 X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nm24.bullet.mail.sp2.yahoo.com (HELO nm24.bullet.mail.sp2.yahoo.com) (98.139.91.94) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 10 Mar 2011 08:23:15 +0000 Received: from [98.139.91.61] by nm24.bullet.mail.sp2.yahoo.com with NNFMP; 10 Mar 2011 08:23:14 -0000 Received: from [98.139.91.34] by tm1.bullet.mail.sp2.yahoo.com with NNFMP; 10 Mar 2011 08:23:14 -0000 Received: from [127.0.0.1] by omp1034.mail.sp2.yahoo.com with NNFMP; 10 Mar 2011 08:23:14 -0000 Received: (qmail 45311 invoked by uid 60001); 10 Mar 2011 08:23:14 -0000 Message-ID: <945241.43722.qm@web112504.mail.gq1.yahoo.com> Received: from [15.219.201.69] by web112504.mail.gq1.yahoo.com via HTTP; Thu, 10 Mar 2011 00:23:13 PST Date: Thu, 10 Mar 2011 08:23:00 -0000 From: paawan oza Subject: Re: Why no hwatch command in gdb ? To: robert song Cc: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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: 2011-03/txt/msg00065.txt.bz2 gdb uses HW debug registers HW support is there; and most of the processors have it. just need to change configuration internal to gdb; set can-use-hw-watchpoint.. 1 then when you watch; it will set as many watchpoints as many debug registers available. regards, Oza. ----- Original Message ---- From: robert song To: gdb@sourceware.org Sent: Thu, March 10, 2011 12:55:18 PM Subject: Why no hwatch command in gdb ? Hi, everyone. In gdb command line, we can use break or hbreak to set breakpoint or hardware breakpoint. But I can only find watch command without hardware watch command, so why watchpoint and breakpoint command are not united? Regards, robert