This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] new test, pr-1090.exp, multi-register variables
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: fnasser at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Sun, 23 Feb 2003 23:17:49 -0500
- Subject: Re: [rfa] new test, pr-1090.exp, multi-register variables
- References: <200302240355.h1O3ti606453@duracef.shout.net>
On Sun, Feb 23, 2003 at 09:55:44PM -0600, Michael Elizabeth Chastain wrote:
> This is a new test script for pr gdb/1090, which is about register
> variables which occupy several registers. Both gdb 5.3 and gdb
> HEAD%20030223 get this wrong. In my testbed, this happens with
> gcc 2.95.3; gcc v3 compilers don't allocate multi-register variables.
>
> The symptom of this bug is that gdb prints the first word of a
> structure correctly but botches the second word. The test has a nice
> KFAIL for this.
>
> Okay to commit?
You may want to see gdb/214. Mark posted a proposal for solving it to
gdb@ some weeks ago and it never went further; I don't remember what
the verdict was.
Some day very soon we'll have GDB support to describe this explicitly;
some day after that GCC will output the appropriate debug info
(DW_OP_piece). May be a little while.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer