From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24022 invoked by alias); 1 Aug 2005 09:32:25 -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 24015 invoked by uid 22791); 1 Aug 2005 09:32:22 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.202) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 01 Aug 2005 09:32:22 +0000 Received: by zproxy.gmail.com with SMTP id x3so696755nze for ; Mon, 01 Aug 2005 02:32:21 -0700 (PDT) Received: by 10.36.132.6 with SMTP id f6mr721477nzd; Mon, 01 Aug 2005 02:32:21 -0700 (PDT) Received: by 10.36.118.14 with HTTP; Mon, 1 Aug 2005 02:32:21 -0700 (PDT) Message-ID: <6f48278f0508010232b6c5149@mail.gmail.com> Date: Mon, 01 Aug 2005 09:32:00 -0000 From: Jie Zhang Reply-To: Jie Zhang To: gdb@sources.redhat.com Subject: No code to flush instruction cache in gdbserver? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2005-08/txt/msg00000.txt.bz2 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. However, I found there is no cache flush code in gdbserver. So here are my questions: 1. Is it needed to flush instruction cache in gdbserver? If not, why? 2. If yes, is there not code do cache flush in gdbserver or just I didn't find them? 3. If there is no such code, is there any effort on going to add it current= ly? Any comments will be appreciated. Thanks, Jie