I need to pass some arguments to my application,that include the – symbol. The problem is if I pass gdb a.out -foo baa, the gdb understand that the arguments are for it, and not to my application. How to fix this?
I need to pass some arguments to my application,that include the – symbol. The
Share
gdb -q a.outinside gdb:
run -foo baaTip: -q option for gdb suppresses the introductory copyright messages.