From cbdbb3aaff3bcfe86afa084efba584078e8f0e45 Mon Sep 17 00:00:00 2001 From: Grazfather Date: Thu, 14 May 2015 12:00:55 -0700 Subject: [PATCH 1/2] Improve installation instructions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ddb40655c..9f5f2fb29 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Best supported on Ubuntu 14.04 with default `gdb` or `gdb-multiarch` (e.g. with ## Installation 1. Clone the repo: `git clone https://github.com/zachriggle/pwndbg` -2. Add to `~/.gdbinit`: `source ~/pwndbg/gdbinit.py` +2. Add to `~/.gdbinit`: `cd pwndbg && echo "source $PWD/gdbinit.py" >> ~/.gdbinit` ### Prerequisites @@ -21,8 +21,8 @@ Best supported on Ubuntu 14.04 with default `gdb` or `gdb-multiarch` (e.g. with Currently this is only available via a source build. 1. Clone the repo: `git clone https://github.com/aquynh/capstone` -2. Select the `next` branch: `git checkout -t origin/next` -3. Build and install libcapstone: `sudo make.sh install` +2. Select the `next` branch: `cd capstone && git checkout -t origin/next` +3. Build and install libcapstone: `sudo ./make.sh install` 4. Build and install Python bindings: `cd bindings/python && python setup.py install` #### pycparser From b2ffa2545c01ee2c16bd7e004fa31970b0a3288e Mon Sep 17 00:00:00 2001 From: Grazfather Date: Thu, 14 May 2015 15:18:34 -0700 Subject: [PATCH 2/2] README: Don't bother cd-ing on install --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f5f2fb29..7485a3dfa 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Best supported on Ubuntu 14.04 with default `gdb` or `gdb-multiarch` (e.g. with ## Installation 1. Clone the repo: `git clone https://github.com/zachriggle/pwndbg` -2. Add to `~/.gdbinit`: `cd pwndbg && echo "source $PWD/gdbinit.py" >> ~/.gdbinit` +2. Add to `~/.gdbinit`: `echo "source $PWD/pwndbg/gdbinit.py" >> ~/.gdbinit` ### Prerequisites