Adding a call to the gdb debug info interface. PiperOrigin-RevId: 914280396 Change-Id: Ie2e2c9046a9880c6426674422ac593e59402104f
diff --git a/riscv/riscv_gdb_debug_info.h b/riscv/riscv_gdb_debug_info.h index 57feaaa..65ee747 100644 --- a/riscv/riscv_gdb_debug_info.h +++ b/riscv/riscv_gdb_debug_info.h
@@ -164,6 +164,7 @@ return static_cast<int>(RiscVGdbRegisterEnum::kGprPc); } int GetGprWidth() const override { return gpr_width_; }; + int GetPcWidth() const override { return gpr_width_; }; // For now assume that all registers have the same width as the GPRs. int GetRegisterByteWidth(int register_number) const override { return gpr_width_ / 8;