]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 29 Sep 2009 12:52:26 +0000 (12:52 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 29 Sep 2009 12:52:26 +0000 (12:52 +0000)
instead of CORE_ADDR for "amode".

gdb/ChangeLog
gdb/s390-tdep.c

index 595f0666eeead63e0d2034750c5ec7324eefe857..04b0eb1f19049f2b904b908013a02bda2dc88af6 100644 (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  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * gdbarch.sh (displaced_step_hw_singlestep): New callback.
index b8a220fdaa7c3314d9e09cbb9711c1eb64d8355d..8edabb516bc78440047cb9add54a6c641b75c4a0 100644 (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)
     {