1 | # GDB configuration or Oil |
2 | # |
3 | # Usage: |
4 | # $ gdb |
5 | # (gdb) source devtools/oil.gdb |
6 | # |
7 | # Or 'source' it from ~/.gdbinit |
8 | |
9 | # for multiline structs |
10 | set print pretty on |
11 | # TODO: save history |
12 | |
13 | # Our Python commands |
14 | source devtools/oil_gdb.py |
15 | |
16 | define cls |
17 | shell clear |
18 | end |
19 | document cls |
20 | Clear screen. |
21 | end |