fredreichbier/gdb-ooc — comment on commit b2949d8225046e4b6ba7f06504b52f93cf63198f
File: README.md line 31
By fredreichbier:

Actually gdb loads a `-gdb.py` file if it's present, and this file imports `gdbooc` ([docs](http://sourceware.org/gdb/current/onlinedocs/gdb/Auto_002dloading.html#Auto_002dloading)). Maybe it's also possible to put that code into [the .gdbinit](http://sourceware.org/gdb/onlinedocs/gdb/Startup.html).

Oh, and the documentation also says that

```Python scripts used by gdb should be installed in data-directory/python, where data-directory is the data directory as determined at gdb startup (see Data Files). ```

Woohoo! So `/usr/share/gdb/python`, it is.