aboutsummaryrefslogtreecommitdiff
path: root/security/peda/files
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2018-12-28 14:58:25 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2018-12-28 14:58:25 +0000
commit6f37a18858bfa419e81ba897fc1c7fd6b7f8266f (patch)
tree1bfdbf93f57ae62a74dfb1b02d49f04577e73607 /security/peda/files
parent4e671c3698b87763ca1bfaebf26899b85d6f6472 (diff)
downloadports-6f37a18858bfa419e81ba897fc1c7fd6b7f8266f.tar.gz
ports-6f37a18858bfa419e81ba897fc1c7fd6b7f8266f.zip
Notes
Diffstat (limited to 'security/peda/files')
-rw-r--r--security/peda/files/pkg-message.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/peda/files/pkg-message.in b/security/peda/files/pkg-message.in
new file mode 100644
index 000000000000..f42fc40bfda7
--- /dev/null
+++ b/security/peda/files/pkg-message.in
@@ -0,0 +1,16 @@
+Now that PEDA is installed it can be used with gdb(1).
+
+Run the following command in the gdb prompt to load the plugin:
+
+```
+source %%LIBEXECDIR%%/%%UTILITY_NAME%%
+```
+
+In order to load PEDA automatically on gdb(1) launch add the line mentioned
+above to ~/.gdbinit:
+
+```
+echo "source %%LIBEXECDIR%%/%%UTILITY_NAME%%" >> ~/.gdbinit
+```
+
+Keep in mind that PEDA requires at least GDB 7.0 to work.