Finished Printpoints for now.

They always go to printf(). So the go to the console.
In the future, I can add an option to go to the "GDB output" tab.

Also, it may be possible to have a "Printpoint output" tab.
If the format has some magic text, the handleText() mechanism
may be able to intercept the output. For example, if the format
is:

    "^PrintPointFormat %d %d\n"

Of course this would work only if dprintf uses printf().
This commit is contained in:
Ernie Pasveer
2022-01-29 17:16:12 -06:00
parent 4aaee0a12a
commit 58543b33e7
4 changed files with 45 additions and 5 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ QString SeerPrintpointCreateDialog::printpointText () const {
printpointParameters += " --line " + lineNumberText();
}
printpointParameters += " " + format();
printpointParameters += " \"" + format() + "\"";
printpointParameters += " " + arguments();
return printpointParameters;