how to detect if gdb has been compiled with python support?

Maurizio Vitale mrz.vtl@gmail.com
Tue Apr 21 02:06:00 GMT 2015


in my gdbinitrc I source python extensions. In my organization we have also
gdbs compiled without python linked in and I'd like to give a clear message
about it.
Any programmatic way to check whether Python is compiled in?

Thanks,

  Maurizio



More information about the Gdb mailing list