Next: Initialization Files, Previous: Mode Options, Up: Invoking GDB
Here's the description of what gdb does during session startup:
If you wish to disable the auto-loading during startup, you must do something like the following:
$ gdb -iex "set auto-load python-scripts off" myprogram
Option `-ex' does not work because the auto-loading is then turned off too late.