diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:39:13 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:39:13 +0000 |
commit | 55f960e1d2e58215a0c274e8d30e6036c96a2959 (patch) | |
tree | bfba868ab5c23c63103b59225fabbf9c06df9c2e /gdb/arm-tdep.c | |
parent | 7ccb0be9545330795513b699b8ec1d6770c0e755 (diff) | |
download | gdb-55f960e1d2e58215a0c274e8d30e6036c96a2959.zip gdb-55f960e1d2e58215a0c274e8d30e6036c96a2959.tar.gz gdb-55f960e1d2e58215a0c274e8d30e6036c96a2959.tar.bz2 |
* prologue-value.c (make_pv_area): Add ADDR_BIT argument.
Use it instead of address bits of current_gdbarch.
* prologue-value.c (make_pv_area): Add ADDR_BIT argument.
* arm-tdep.c (thumb_analyze_prologue): Pass address bits to
make_pv_area.
(arm_scan_prologue): Likewise.
* m32c-tdep.c (m32c_analyze_prologue): Likewise.
* mep-tdep.c (mep_analyze_prologue): Likewise.
* mn10300-tdep.c (mn10300_analyze_prologue): Likewise.
* s390-tdep.c (s390_analyze_prologue): Likewise.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index a1281d7..933a224 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -395,7 +395,7 @@ thumb_analyze_prologue (struct gdbarch *gdbarch, for (i = 0; i < 16; i++) regs[i] = pv_register (i, 0); - stack = make_pv_area (ARM_SP_REGNUM); + stack = make_pv_area (ARM_SP_REGNUM, gdbarch_addr_bit (gdbarch)); back_to = make_cleanup_free_pv_area (stack); while (start < limit) @@ -862,7 +862,7 @@ arm_scan_prologue (struct frame_info *this_frame, for (regno = 0; regno < ARM_FPS_REGNUM; regno++) regs[regno] = pv_register (regno, 0); - stack = make_pv_area (ARM_SP_REGNUM); + stack = make_pv_area (ARM_SP_REGNUM, gdbarch_addr_bit (gdbarch)); back_to = make_cleanup_free_pv_area (stack); for (current_pc = prologue_start; |