From beaabab2393fbf6cc69360b6b4445f86d6a5ea67 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 29 Sep 2009 12:51:34 +0000 Subject: [PATCH] * s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST instead of CORE_ADDR for "amode". --- gdb/ChangeLog | 5 +++++ gdb/s390-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b287694ae17..a1c6674908e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-09-29 Ulrich Weigand + + * s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST + instead of CORE_ADDR for "amode". + 2009-09-29 Joel Brobecker * ia64-tdep.c: Update the comments on how we insert/remove diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index b8a220fdaa7..8edabb516bc 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -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) { -- 2.30.2