Blame SOURCES/gdbinit

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