You need to prepend “gdb --args” and not just “gdb”, otherwise gdb will try to parse the rest of the command line arguments as its own. Once it will load, just typing “run” will execute it with the arguments given. Once you hit the crash, use “bt”.
You need to prepend “gdb --args” and not just “gdb”, otherwise gdb will try to parse the rest of the command line arguments as its own. Once it will load, just typing “run” will execute it with the arguments given. Once you hit the crash, use “bt”.