aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-09-29 12:51:34 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-09-29 12:51:34 +0000
commitbeaabab2393fbf6cc69360b6b4445f86d6a5ea67 (patch)
tree4a460052e0c2c2f6d8fb83951cdc846ec85a67ad /gdb/s390-tdep.c
parent0505e9020e29fbe2e8460cd16d7f5da30129a3ce (diff)
downloadgdb-beaabab2393fbf6cc69360b6b4445f86d6a5ea67.zip
gdb-beaabab2393fbf6cc69360b6b4445f86d6a5ea67.tar.gz
gdb-beaabab2393fbf6cc69360b6b4445f86d6a5ea67.tar.bz2
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
instead of CORE_ADDR for "amode".
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r--gdb/s390-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index b8a220f..8edabb5 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)
{