Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrintPoint fail with syntax error. #31

Open
epasveer opened this issue Feb 11, 2022 · 3 comments
Open

PrintPoint fail with syntax error. #31

epasveer opened this issue Feb 11, 2022 · 3 comments
Assignees

Comments

@epasveer
Copy link
Owner

Setting a PrintPoint fails.

Loop %d of %d\n
K L1

Error Message:

breakpoint-modified,bkpt={number="2",type="dprintf",disp="keep",enabled="y",addr="0x00007ffff5c3f8c4",func="cfftx",file="sssMathlib.f",fullname="/home/erniep/Development/Peak/src/Core/Math/sssMathlib.f",line="1073",thread-groups=["i1"],times="1",script={"call (void) printf ("Loop %d of %d\
",K,L1)"},original-location="-source /home/erniep/Development/Peak/src/Core/Math/sssMathlib.f -line 1073"}
Invalid character '"' in expression.
@epasveer
Copy link
Owner Author

Might be related to Fortran source files. Seems to work with C/C++ files.

@epasveer epasveer self-assigned this Feb 15, 2022
@epasveer
Copy link
Owner Author

Definitely related to Fortran code. C/C++ files are fine. Will work on this later. I might need to submit a bug report to gnu/gdb.

@epasveer
Copy link
Owner Author

Here's a recent link on using dprintf. It may help.

https://abstractexpr.com/2024/03/03/dynamic-printf-debugging-with-gdb/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant