Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdb no longer works #156

Open
irodionzaytsev opened this issue Aug 21, 2020 · 1 comment
Open

gdb no longer works #156

irodionzaytsev opened this issue Aug 21, 2020 · 1 comment

Comments

@irodionzaytsev
Copy link

After installing peda it has way too many side effects. For example IDE debuggers show only hex. Peda should not affect gdb and be installed separately by default. Change installation instructions.

@red0xff
Copy link
Contributor

red0xff commented Oct 11, 2020

Hello @irodionzaytsev , you can have peda usable without having your gdb installation affected (programs using gdb will not have peda loaded by default), personally, I have these lines in my ~/.bashrc script:

alias peda="gdb -iex 'source /opt/peda/peda.py' --nh -q"
alias gef="gdb -iex 'source /opt/gef/gef.py' --nh -q"
alias pwndbg="gdb -iex 'source /opt/pwndbg/gdbinit.py' --nh -q"

and I just run : peda ./my_program, or gef ./my_program when I want to use the given extension.
(Of course, each of their repos is cloned in /opt/ in my case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants