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 Berlin <dberlin at dberlin dot org>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Michael Elizabeth Chastain <mec at shout dot net>, <fnasser at redhat dot com>, <gdb-patches at sources dot redhat dot com>
- Date: Mon, 24 Feb 2003 02:07:15 -0500 (EST)
- Subject: Re: [rfa] new test, pr-1090.exp, multi-register variables
On Sun, 23 Feb 2003, Daniel Jacobowitz wrote:
> 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.
As I mentioned, GCC already outputs DW_OP_piece in one specific case.
If you'd like it to do it more often, let me know when you want it
outputted, and i'll make it so.
>
>