From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25956 invoked by alias); 21 Sep 2011 14:26:51 -0000 Received: (qmail 25948 invoked by uid 22791); 21 Sep 2011 14:26:51 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate3.uk.ibm.com (HELO mtagate3.uk.ibm.com) (194.196.100.163) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Sep 2011 14:26:34 +0000 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate3.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p8LEQWgH001049 for ; Wed, 21 Sep 2011 14:26:32 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8LEQVdQ1994864 for ; Wed, 21 Sep 2011 15:26:31 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8LLQQ05014661 for ; Wed, 21 Sep 2011 15:26:26 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id p8LLQPEn014621; Wed, 21 Sep 2011 15:26:25 -0600 Message-Id: <201109212126.p8LLQPEn014621@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 21 Sep 2011 16:26:30 +0200 Subject: Re: [rfc, gdbserver] Support hardware watchpoints on ARM To: pedro@codesourcery.com (Pedro Alves) Date: Wed, 21 Sep 2011 14:29:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, patches@linaro.org In-Reply-To: <201109211519.47648.pedro@codesourcery.com> from "Pedro Alves" at Sep 21, 2011 03:19:47 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2011-09/txt/msg00385.txt.bz2 Pedro Alves wrote: > On Wednesday 21 September 2011 14:57:15, Ulrich Weigand wrote: > > Well, since this is global system property that is actually only > > queried once and then returned from a cache, adding a LWP argument > > would appear to be somewhat misleading ... > > We can always just document what the argument means :-) In this > case, it'd serve as currently stopped LWP to run ptrace on in case > the cache is not set yet. That still seems odd to me :-) I'd rather make the caching explicit, e.g. by retrieving the information once in arm_arch_setup and then just always using it. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com