Blame SOURCES/gdbinit

79b363
# System-wide GDB initialization file.
79b363
python
79b363
import glob
79b363
# glob.iglob is not available in python-2.4 (RHEL-5).
79b363
for f in glob.glob('%{_sysconfdir}/gdbinit.d/*.gdb'):
79b363
  gdb.execute('source %s' % f)
79b363
for f in glob.glob('%{_sysconfdir}/gdbinit.d/*.py'):
79b363
  gdb.execute('source %s' % f)
79b363
end