From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32480 invoked by alias); 14 Jun 2004 15:14:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32389 invoked from network); 14 Jun 2004 15:14:48 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 14 Jun 2004 15:14:48 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 7DA2C6F2649 for ; Mon, 14 Jun 2004 17:14:48 +0200 (CEST) To: gdb@sources.redhat.com Subject: Watchpoints broken in HEAD From: Andreas Schwab X-Yow: Our father who art in heaven.. I sincerely pray that SOMEBODY at this table will PAY for my SHREDDED WHAT and ENGLISH MUFFIN.. and also leave a GENEROUS TIP... Date: Mon, 14 Jun 2004 15:14:00 -0000 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-06/txt/msg00144.txt.bz2 Support for hardware watchpoints on ia64 is currently broken. gdb is just reporting SIGTRAP when the watchpoint triggers. $ cat hello.c #include int i; int main (void) { printf ("Hello world\n"); i = 1; return 0; } $ gdb hello GNU gdb 2004-06-14-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "ia64-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) watch i Hardware watchpoint 1: i (gdb) r Starting program: /suse/schwab/test/hello Hardware watchpoint 1: i Hardware watchpoint 1: i Hello world Program received signal SIGTRAP, Trace/breakpoint trap. main () at hello.c:9 9 i = 1; (gdb) Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."