Blame SOURCES/gdbinit

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