9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
# System-wide GDB initialization file.
|
|
python
|
|
import glob
|
|
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
|