diff --git a/gnu/dist/gdb/vax-tdep.c b/gnu/dist/gdb/vax-tdep.c index d8127e7d113d..935876e265b9 100644 --- a/gnu/dist/gdb/vax-tdep.c +++ b/gnu/dist/gdb/vax-tdep.c @@ -244,7 +244,7 @@ print_insn_arg (d, p, addr, info) case 14: /* Long displacement */ if (regnum == PC_REGNUM) { - info->target = addr + *(short *)p + 5; + info->target = addr + *(long *)p + 5; (*info->print_address_func) (info->target, info); } else