Blame SOURCES/gdbinit

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