This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: exp/1811: "set var x = y" doesn't work properly if sizeof(x) < sizeof(register)
- From: Randolph Chung <randolph at tausq dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 18 Nov 2004 16:28:01 -0000
- Subject: Re: exp/1811: "set var x = y" doesn't work properly if sizeof(x) < sizeof(register)
- Reply-to: Randolph Chung <randolph at tausq dot org>
The following reply was made to PR exp/1811; it has been noted by GNATS.
From: Randolph Chung <randolph@tausq.org>
To: cagney@redhat.com, gdb-prs@sources.redhat.com,
nobody@sources.redhat.com, gdb-gnats@sources.redhat.com
Cc:
Subject: Re: exp/1811: "set var x = y" doesn't work properly if sizeof(x) < sizeof(register)
Date: Thu, 18 Nov 2004 08:25:14 -0800
> Check:
>
> else if (CONVERT_REGISTER_P (regnum, type))
hm... i don't think we hit that code in this case (if we do set x = 4
where x is a stack variable)?
through some more experimentations i'm getting more convinced that this
is actually a gcc problem. gcc-4.0 generates different dwarf info for
this example and makes this case work correctly.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/