gdb: if there is an asterisk in the parameter in the real-time debugging

If you use the run command in gdb, and the reason for the parameter is an asterisk *, you need to pay attention to escaping at this time;
otherwise there will be some problems.

Another way is to specify parameters when executing gdb. --args, there can be asterisks in this.

And there is an escape in it.

Guess you like

Origin blog.csdn.net/qq_36428903/article/details/131185888