From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13081 invoked by alias); 6 May 2008 12:38:02 -0000 Received: (qmail 13062 invoked by uid 71); 6 May 2008 12:38:01 -0000 Date: Tue, 06 May 2008 12:38:00 -0000 Message-ID: <20080506123801.13061.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: remote/2454: GDB sets register 29 on i386 upon stop for no known reason Reply-To: Daniel Jacobowitz Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00035.txt.bz2 The following reply was made to PR remote/2454; it has been noted by GNATS. From: Daniel Jacobowitz To: lkundrak@v3.sk Cc: gdb-gnats@sources.redhat.com Subject: Re: remote/2454: GDB sets register 29 on i386 upon stop for no known reason Date: Tue, 6 May 2008 08:31:24 -0400 On Tue, May 06, 2008 at 07:46:52AM -0000, lkundrak@v3.sk wrote: > > My GDB stub returns E01 because register that is attempted to be set -- 29 -- is more than is known about; 16. "info registers" also outputs just 16 registers. The number 29 is hex. It's register 41. See the "maint print registers" output; this is orig_eax, which is used for Linux system calls. Your GDB is probably configured for Linux instead of plain i386-elf. -- Daniel Jacobowitz CodeSourcery