This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: remote/2454: GDB sets register 29 on i386 upon stop for noknown reason


The following reply was made to PR remote/2454; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]