Blame SOURCES/gdbinit

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