How to print a null-terminated string with newlines without showing backslash escapes in gdb?

前端 未结 2 1815
夕颜
夕颜 2020-12-24 10:47

I have a variable

char* x = \"asd\\nqwe\\n ... \"

and I want to print it with newlines printed as newlines not backslash n. Is it

2条回答
提交回复
热议问题