Blame SOURCES/gdbinit

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