From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22804 invoked by alias); 28 Aug 2002 13:47:29 -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 22794 invoked from network); 28 Aug 2002 13:47:27 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 28 Aug 2002 13:47:27 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17k46T-0004Rf-00; Wed, 28 Aug 2002 09:47:29 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17k3BH-0004dr-00; Wed, 28 Aug 2002 09:48:23 -0400 Date: Wed, 28 Aug 2002 06:47:00 -0000 From: Daniel Jacobowitz To: Daniel Wagner Cc: gdb@sources.redhat.com Subject: Re: gdb remote serial protocol Message-ID: <20020828134823.GA17605@nevyn.them.org> Mail-Followup-To: Daniel Wagner , gdb@sources.redhat.com References: <878z2rdrss.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878z2rdrss.fsf@gmx.ch> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-08/txt/msg00378.txt.bz2 On Wed, Aug 28, 2002 at 03:41:23PM +0200, Daniel Wagner wrote: > [I'm not on the list, please CC me] > > Hi > > I have some problems with a recent gdb debugging oskit kernels over a > serial line. Older gdb like 5.0 run flawlessly. > > First, there is a new command 'e' which is not documented (Roland > McGrath told me that). It would be good to have this command > documented. Thanks. The step-over-range command ('e') is disabled again in current GDB. It had some design problem, I think. > Now to the real problem. Here is small gdb session for demonstration: This is a consequence of adding %orig_eax :( You have two choices at the moment: make the stub ignore writes to register 0x29, or build GDB configured for i386-elf. Long term we should probably consider the register optional but it's not clear how close we are to that. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer