Summary: | -break-condition compare strings | ||
---|---|---|---|
Product: | gdb | Reporter: | Ernie Pasveer <epasveer> |
Component: | mi | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ssbssa, tromey |
Priority: | P2 | ||
Version: | unknown | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Ernie Pasveer
2023-11-24 19:05:49 UTC
I think it should work if you quote the whole condition, like this: -break-condition 1 "$_streq(name.c_str(), \"ernie\")" Sweet! Yes, indeed. It does work after all the escape'isms. I can implement this in my Seergdb debugger. Thanks for your quick help. Answered so closing. Thank you Hannes. |