On Tuesday, 5 October 2021 06:11:50 PDT Richard Weickelt wrote:
> Hi,
> 
> I want to run a bare metal application in a QEMU environment and debug it
> with gdb using Qt Creator. But I can only see a limited predefined selection
> of debug providers, like openocd, j-link, ...
> 
> Is there no way to run a custom command instead? I expected the "generic"
> provider to cover that usecase, but that seems to be something else.

You can start it manually with qemu and tell it to stop before the first line 
of the application. Then tell Qt Creator to connect to the GDB server that 
qemu created.

Debug > Start Debugging > Attach to Running Server

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to