From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31499 invoked by alias); 1 Aug 2005 13:25:42 -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 31453 invoked by uid 22791); 1 Aug 2005 13:25:39 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.193) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 01 Aug 2005 13:25:39 +0000 Received: by zproxy.gmail.com with SMTP id x3so714413nze for ; Mon, 01 Aug 2005 06:25:38 -0700 (PDT) Received: by 10.36.132.6 with SMTP id f6mr793107nzd; Mon, 01 Aug 2005 06:25:36 -0700 (PDT) Received: by 10.36.118.14 with HTTP; Mon, 1 Aug 2005 06:25:36 -0700 (PDT) Message-ID: <6f48278f05080106251b318dbe@mail.gmail.com> Date: Mon, 01 Aug 2005 13:25:00 -0000 From: Jie Zhang Reply-To: Jie Zhang To: Jie Zhang , gdb@sources.redhat.com Subject: Re: No code to flush instruction cache in gdbserver? In-Reply-To: <20050801131256.GB4405@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6f48278f0508010232b6c5149@mail.gmail.com> <20050801131256.GB4405@nevyn.them.org> X-SW-Source: 2005-08/txt/msg00003.txt.bz2 Thank you so much. :-) Jie On 8/1/05, Daniel Jacobowitz wrote: > On Mon, Aug 01, 2005 at 05:32:21PM +0800, Jie Zhang wrote: > > Hi, > > > > I have a question about gdbserver. For some architectures it's needed > > to flush instruction cache to maintain the cache coherency after > > inserting or removing breakpoint. >=20 > It's not gdbserver's responsibility. If your kernel fails to flush the > cache after PTRACE_POKETEXT, then report that as a kernel bug. >=20 > -- > Daniel Jacobowitz > CodeSourcery, LLC >