Blame SOURCES/gdbinit

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