Move pwndbg to tools from dotfile status.

This commit is contained in:
David Tomaschik
2019-04-16 23:01:40 -07:00
parent 72914aa6e1
commit 815cf0a6e4
3 changed files with 23 additions and 23 deletions

View File

@@ -26,10 +26,10 @@ end
python
import sys
import os.path
pwndbg = os.path.expanduser('~/.pwndbg/gdbinit.py')
pwndbg = os.path.expanduser('~/tools/pwndbg/gdbinit.py')
peda = os.path.expanduser('~/.peda/peda.py')
if os.path.isfile(pwndbg):
sys.path.insert(0, os.path.expanduser('~/.pwndbg/vendor'))
sys.path.insert(0, os.path.expanduser('~/tools/pwndbg/vendor'))
gdb.execute('source {}'.format(pwndbg))
elif os.path.isfile(peda):
gdb.execute('source {}'.format(peda))