From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25079 invoked by alias); 30 Jul 2007 11:46:09 -0000 Received: (qmail 25071 invoked by uid 22791); 30 Jul 2007 11:46:08 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jul 2007 11:46:07 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3FD0498313; Mon, 30 Jul 2007 11:46:07 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id BED8398294; Mon, 30 Jul 2007 11:46:06 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IFThM-0006qL-Eb; Mon, 30 Jul 2007 07:46:04 -0400 Date: Mon, 30 Jul 2007 13:41:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] Fixed i386 frameless access Message-ID: <20070730114604.GA26091@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org References: <20070730082854.GA17947@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070730082854.GA17947@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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: 2007-07/txt/msg00310.txt.bz2 On Mon, Jul 30, 2007 at 10:28:54AM +0200, Jan Kratochvil wrote: > Hi, > > GDB refuses to access i386 CPU registers if no frame has been detected with: > (gdb) set $eax = 3 > Value being assigned to is no longer active. > > Attached patch ports the existing amd64 code for i386. > > Attached testcase expects to be able to compile with "-m32" on amd64/gcc, is it > an acceptable expectations? Reference: http://sourceware.org/ml/gdb-patches/2006-05/msg00018.html -- Daniel Jacobowitz CodeSourcery