Blame SOURCES/gdbinit

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