aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/arch/riscv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch/riscv.h b/gdb/arch/riscv.h
index d5ea1a5..e1965da 100644
--- a/gdb/arch/riscv.h
+++ b/gdb/arch/riscv.h
@@ -90,7 +90,7 @@ struct riscv_gdbarch_features
| (has_fcsr_reg ? 1 : 0) << 13
| (xlen & 0x1f) << 5
| (flen & 0x1f) << 0
- | (vlen & 0xfff) << 14);
+ | (vlen & 0x3fff) << 14);
return val;
}
};