diff options
author | Randolph Chung <tausq@debian.org> | 2004-12-08 06:12:40 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-12-08 06:12:40 +0000 |
commit | e1e09f9165c6e280cfe327a0e08d8cd64a6b91ce (patch) | |
tree | ab363881c2237390cd3b90efb48ae3f2dbefec35 | |
parent | 487c1be64222075fd893b2d2415cf62ce31d8f34 (diff) | |
download | gdb-e1e09f9165c6e280cfe327a0e08d8cd64a6b91ce.tar.gz |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d422af496e3..e1649e35cd3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 are unwinding through a dummy frame. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 6be4ad52d39..b04b3c6eb3b 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -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; |