mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
* 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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user