Blame SOURCES/gdbinit

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