Blame SOURCES/gdbinit

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