gcc-toolset-9-gdb/SOURCES/gdbinit

10 lines
285 B
Plaintext
Raw Permalink Normal View History

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