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?
gdb -q a.out
run -foo baa
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With