From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27165 invoked by alias); 11 Dec 2004 14:49:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27152 invoked from network); 11 Dec 2004 14:49:18 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 11 Dec 2004 14:49:18 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iBBEnE4a022844; Sat, 11 Dec 2004 15:49:14 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iBBEnDc4007264; Sat, 11 Dec 2004 15:49:13 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iBBEn9ao007261; Sat, 11 Dec 2004 15:49:09 +0100 (CET) Date: Sat, 11 Dec 2004 14:53:00 -0000 Message-Id: <200412111449.iBBEn9ao007261@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: jjohnstn@redhat.com CC: jjohnstn@redhat.com, drow@false.org, gdb-patches@sources.redhat.com In-reply-to: <41BA36C5.2030304@redhat.com> (message from Jeff Johnston on Fri, 10 Dec 2004 18:52:37 -0500) Subject: Re: [RFA]: Modified Watchthreads Patch References: <41B8E16D.6070505@redhat.com> <20041210191015.GA18430@nevyn.them.org> <41BA00E1.20900@redhat.com> <20041210203729.GA7830@nevyn.them.org> <41BA168E.7030507@redhat.com> <41BA36C5.2030304@redhat.com> X-SW-Source: 2004-12/txt/msg00296.txt.bz2 Date: Fri, 10 Dec 2004 18:52:37 -0500 From: Jeff Johnston As I observed before, the actual watchpoint only needs to be set on one thread and it will trigger in other threads. I can send you the additional patch if you want to experiment with it. This is highly suspicious. I think it means that there is a bug in the kernel. Of course that's in the eye of the beholder since the there is no documentation whatsoever how watchpoints should work in the Linux kernel. I think that, before we change GDB, we should insists that this gets properly documented, and agreed on by the kernel people. I am still waiting for a machine with the latest RH kernel on it. I'll let you know if that works the same. What the latest RH kernel does should be mostly irrelevant to the GDB project. What matters is what the official Linux kernel does. We should realize that not everybody is using a kernel that was released just a week ago. GDB should also work on older kernels (we've previously stated that it will work on version 2.0 and later). Of course we don't support all features on those kernels, but we shouldn't break features that worked on those kernels before. It seems to me the i386 watchpoint issue has a high-risk to break older kernels. Mark