summaryrefslogtreecommitdiff
path: root/gdb/mep-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:39:12 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:39:12 +0000
commit37e0a256a21caf3fb05c7df902e40d655bc1d4f1 (patch)
tree909e00a7b6d00d38b0c9da368e3303aa59e6d277 /gdb/mep-tdep.c
parentbdcf2ba571882988c94cc084e1edf043e0c9bbed (diff)
downloadgdb-37e0a256a21caf3fb05c7df902e40d655bc1d4f1.tar.gz
* 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/mep-tdep.c')
-rw-r--r--gdb/mep-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c
index 7bc6ccd1a24..e3f78b03d23 100644
--- a/gdb/mep-tdep.c
+++ b/gdb/mep-tdep.c
@@ -1691,7 +1691,7 @@ mep_analyze_prologue (struct gdbarch *gdbarch,
result->reg_offset[rn] = 1;
}
- stack = make_pv_area (MEP_SP_REGNUM);
+ stack = make_pv_area (MEP_SP_REGNUM, gdbarch_addr_bit (gdbarch));
back_to = make_cleanup_free_pv_area (stack);
pc = start_pc;