This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: exp/1811: "set var x = y" doesn't work properly if sizeof(x) < sizeof(register)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]