This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: remote/2454: GDB sets register 29 on i386 upon stop for noknown reason
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 6 May 2008 12:38:01 -0000
- Subject: Re: remote/2454: GDB sets register 29 on i386 upon stop for noknown reason
- Reply-to: Daniel Jacobowitz <drow at false dot org>
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