imgtec-riscv / catapult-sdk

Imagination Technologies Catapult SDK RISC-V Software Development Kit
Other
9 stars 0 forks source link

Linux user-mode gdb debug on QEMU won't pause #10

Open WiseCrohn opened 3 months ago

WiseCrohn commented 3 months ago

Describe the bug When running a debug session for a linux user-mode program on QEMU, breakpoints and stepping work correctly, but it is not possible to pause execution using the VSCode pause button.

SDK version 2024.1.0

To Reproduce Launch a long running program built with linux toolchain on the "QEMU 64-bit linux user-mode" target. Click continue when the initial breakpoint at start of main is hit. Click pause while the program is running; it fails to do anything

Expected behavior the program should pause, showing PC at the current execution line

Host OS (please complete the following information): linux ubuntu

WiseCrohn commented 3 months ago

This may be the issue discussed on https://github.com/Microsoft/vscode-cpptools/issues/833. No easy fix has been found as yet.