Blame SOURCES/gdbinit

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