From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24680 invoked by alias); 1 Aug 2005 13:13:01 -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 24653 invoked by uid 22791); 1 Aug 2005 13:12:58 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 01 Aug 2005 13:12:58 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1Dza6C-0001Bg-3g; Mon, 01 Aug 2005 09:12:56 -0400 Date: Mon, 01 Aug 2005 13:13:00 -0000 From: Daniel Jacobowitz To: Jie Zhang Cc: gdb@sources.redhat.com Subject: Re: No code to flush instruction cache in gdbserver? Message-ID: <20050801131256.GB4405@nevyn.them.org> Mail-Followup-To: Jie Zhang , gdb@sources.redhat.com References: <6f48278f0508010232b6c5149@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f48278f0508010232b6c5149@mail.gmail.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-08/txt/msg00002.txt.bz2 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. It's not gdbserver's responsibility. If your kernel fails to flush the cache after PTRACE_POKETEXT, then report that as a kernel bug. -- Daniel Jacobowitz CodeSourcery, LLC