Debugger: Show supported gdb architectures in log

... using a true gem of interface design.

Change-Id: I33ee751a0d204ea610d031991f0d472912a065a8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2024-02-28 12:49:35 +01:00
parent 3aa801ca94
commit d6eb041e6d

View File

@@ -3870,6 +3870,10 @@ void GdbEngine::handleGdbStarted()
runCommand({"show version", CB(handleShowVersion)});
runCommand({"show debug-file-directory", CB(handleDebugInfoLocation)});
// Show supported architectures.
runCommand({"set max-completions 1000"}); // gdb-multiarch needs ~250
runCommand({"complete set arch "}); // Keep the space!
//runCommand("-enable-timings");
//rurun print static-members off"); // Seemingly doesn't work.
//runCommand("set debug infrun 1");