* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST

instead of CORE_ADDR for "amode".
This commit is contained in:
Ulrich Weigand 2009-09-29 12:51:34 +00:00
parent 0505e9020e
commit beaabab239
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-29 Ulrich Weigand <uweigand@de.ibm.com>
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
instead of CORE_ADDR for "amode".
2009-09-29 Joel Brobecker <brobecker@adacore.com>
* ia64-tdep.c: Update the comments on how we insert/remove

View File

@ -1230,7 +1230,7 @@ s390_displaced_step_fixup (struct gdbarch *gdbarch,
/* Get current PC and addressing mode bit. */
CORE_ADDR pc = regcache_read_pc (regs);
CORE_ADDR amode = 0;
ULONGEST amode = 0;
if (register_size (gdbarch, S390_PSWA_REGNUM) == 4)
{