Blame SOURCES/gdbinit

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