gdb/gdbinit
Petr Šabata b774b86094 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/gdb#6aff62077bcb16ebf2ba3c498634bce35eda276b
2020-10-15 00:46:23 +02:00

10 lines
285 B
Plaintext

# 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