From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2669 invoked by alias); 21 Aug 2008 03:08:33 -0000 Received: (qmail 2658 invoked by uid 22791); 21 Aug 2008 03:08:33 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 21 Aug 2008 03:07:58 +0000 Received: from mailhost5.vmware.com (unknown [10.16.68.131]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id C93F51D012; Wed, 20 Aug 2008 20:07:56 -0700 (PDT) Received: from [10.20.92.47] (promb-2s-dhcp47.eng.vmware.com [10.20.92.47]) by mailhost5.vmware.com (Postfix) with ESMTP id 159E9DC07B; Wed, 20 Aug 2008 20:09:26 -0700 (PDT) Message-ID: <48ACDBA7.8000307@vmware.com> Date: Thu, 21 Aug 2008 12:24:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: teawater CC: "gdb@sourceware.org" Subject: Re: About displaced-stepping function References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00237.txt.bz2 teawater wrote: > Hi guys, > > I used GDB cvs version to debug the KGDB and got a memory error. > I found that "displaced-stepping" function cause this error. And when > I use command "maintenance set can-use-displaced-stepping 0" close > this function. Everything is OK. > Did anyone meet this bug too? I haven't... What target arch (386?) What gdb version (cvs head?) What linux version, kernel version? In what context did the memory error occur (steps to reproduce)? Can you run the experiment with "set debug remote on" and send the log?