Comments (7)
maybe comming from the python version.
so which python version are you using ?
from peda.
python -v : 2.7
But i also have python 3.3 by default on my Ubuntu
from peda.
Looks like gdb in ubuntu 13.10 is shipped with python 3.0, I don't think peda support python 3 yet. Just to confirm,
You can try this:
(gdb) python print __import__('sys').version_info
If it's 3 I think the only way is to install gdb from source and link with python2 or wait until we have it supported for python3
from peda.
" (gdb) print import('sys').version_info
Aucune table de symboles n'est chargée. Utiliser la commande " file "
(gdb) python print import('sys').version_info
File "", line 1
print import('sys').version_info
^
SyntaxError: invalid syntax
Error while executing Python code.
"
So, impossible to kown the version x)
from peda.
... ahh it could be print()
... python 3 changes to the new print sorry. But i'm pretty sure it's python 3 anyway
from peda.
gdb on ubuntu-13.10 is compiled with python3 caused this problem as peda is only working with python2. Sample on Ubuntu-13.10:
(gdb) python print(sys.version)
3.3.2+ (default, Oct 9 2013, 14:53:41)
[GCC 4.8.1]
Workaround: downgrade your gdb or recompile with python2
from peda.
Raise error for Python3: d0bd978
from peda.
Related Issues (20)
- Older gdb opening instead of gdb-peda HOT 4
- Fix for gdb-peda not running HOT 2
- ArchLinux install steps
- gdb-peda quits while debugging program, regular gdb works file HOT 1
- undefined command...peda help HOT 2
- syntax errors when sourcing `peda.py` HOT 4
- Syntax Warnings
- How to view the arguments that are passed to a system call?
- RELRO Checking is not correct HOT 1
- gdb no longer works HOT 1
- why no setup.py? HOT 1
- new release tag HOT 1
- Errors HOT 1
- peda plug-in fails to start HOT 1
- Peda isnt accepting input HOT 1
- problem to execute script.py
- Aborted (core dumped)
- Why s and n are removed in extended charset_type ?
- SyntaxWarning: invalid escape sequence HOT 3
- gid = re.search("Gid:\s*([^\n]*)", status).group(1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peda.