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/m32c-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/m32c-tdep.c')
-rw-r--r-- | gdb/m32c-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c index 9fa672b..10367b3 100644 --- a/gdb/m32c-tdep.c +++ b/gdb/m32c-tdep.c @@ -1541,7 +1541,7 @@ m32c_analyze_prologue (struct gdbarch *arch, st.fb = pv_register (tdep->fb->num, 0); st.sp = pv_register (tdep->sp->num, 0); st.pc = pv_register (tdep->pc->num, 0); - st.stack = make_pv_area (tdep->sp->num); + st.stack = make_pv_area (tdep->sp->num, gdbarch_addr_bit (arch)); back_to = make_cleanup_free_pv_area (st.stack); /* Record that the call instruction has saved the return address on |