Blame SOURCES/gdbinit

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