This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fixed i386 frameless access
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 30 Jul 2007 07:46:04 -0400
- Subject: Re: [patch] Fixed i386 frameless access
- References: <20070730082854.GA17947@host0.dyn.jankratochvil.net>
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