Blame SOURCES/gdbinit

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