Blame SOURCES/gdbinit

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