OSDN Git Service

* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 29 Sep 2009 12:52:25 +0000 (12:52 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 29 Sep 2009 12:52:25 +0000 (12:52 +0000)
instead of CORE_ADDR for "amode".

gdb/ChangeLog
gdb/s390-tdep.c

index 595f066..04b0eb1 100644 (file)
@@ -1,5 +1,10 @@
 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.
        * gdbarch.c, gdbarch.h: Regenerate.
        * arch-utils.c (default_displaced_step_hw_singlestep): New function.
index b8a220f..8edabb5 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)
     {