You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 lines
285 B

# 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