Blame SOURCES/gdbinit

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