Blame SOURCES/gdbinit

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