Blame SOURCES/gdbinit

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