Blame SOURCES/gdbinit

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