Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 192 |
- |
1 |
# System-wide GDB initialization file.
|
|
|
2 |
python
|
|
|
3 |
import glob
|
|
|
4 |
# glob.iglob is not available in python-2.4 (RHEL-5).
|
|
|
5 |
for f in glob.glob('/etc/gdbinit.d/*.gdb'):
|
|
|
6 |
gdb.execute('source %s' % f)
|
|
|
7 |
for f in glob.glob('/etc/gdbinit.d/*.py'):
|
|
|
8 |
gdb.execute('source %s' % f)
|
|
|
9 |
end
|