Blame SOURCES/gdbinit

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