longld / peda

PEDA - Python Exploit Development Assistance for GDB
Other
5.87k stars 806 forks source link

Older gdb opening instead of gdb-peda #140

Closed TarushS closed 3 years ago

TarushS commented 5 years ago

Annotation 2019-08-12 205356

I tried everything to run gdb-peda but normal gdb runs

TarushS commented 5 years ago

/root/.gdbinit:1: Error in sourced command file: Undefined command: "". Try "help".

adi928 commented 4 years ago

Can you do "less ~/.gdbinit"?

There is a blank line which might be the culprit.

Manikantsingh commented 3 years ago

Did you guys get the solution for it? I am also facing the same issue when I use source code to make and install it on my local environment. peda gdb works fine when it's installed with apt package manager.

TarushS commented 3 years ago

@Manikantsingh check your ~/.gdbinit and make sure there is no other line except source ~/peda/peda.py