Skip to content

Commit

Permalink
Update __init__.py (Gallopsled#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
disconnect3d authored Feb 17, 2020
1 parent 355c09e commit 8cbb863
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pwndbg/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,13 @@ def _OnlyWithLibcDebugSyms(*a, **kw):
else:
print('''%s: This command only works with libc debug symbols.
They can probably be installed via the package manager of your choice.
See also: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html''' % function.__name__)
See also: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
E.g. on Ubuntu/Debian you might need to do the following steps (for 64-bit and 32-bit binaries):
sudo apt-get install libc6-dbg
sudo dpkg --add-architecture i386
sudo apt-get install libc-dbg:i386
''' % function.__name__)
return _OnlyWithLibcDebugSyms

class QuietSloppyParsedCommand(ParsedCommand):
Expand Down

0 comments on commit 8cbb863

Please sign in to comment.