2004-12-07 Randolph Chung <tausq@debian.org>

* hppa-tdep.c (hppa_frame_prev_register_helper): Zero out the entire
	register for both 32- and 64-bit targets.
This commit is contained in:
Randolph Chung 2004-12-08 06:12:40 +00:00
parent e1aac25bcf
commit 254ce0a11f
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-12-07 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_prev_register_helper): Zero out the entire
register for both 32- and 64-bit targets.
2004-12-07 Randolph Chung <tausq@debian.org>
* frame.c (get_prev_frame): Don't terminate unwinding at main if we

View file

@ -2459,7 +2459,10 @@ hppa_frame_prev_register_helper (struct frame_info *next_frame,
if (regnum == HPPA_FLAGS_REGNUM)
{
if (valuep)
store_unsigned_integer (valuep, 4, 0);
store_unsigned_integer (valuep,
register_size (get_frame_arch (next_frame),
regnum),
0);
/* It's a computed value. */
*optimizedp = 0;