Blame SOURCES/gdbinit

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