Problem using py-bt, py-locals, etc. during GDB debugging [solved]

Terry Reedy tjreedy at udel.edu
Sun Mar 9 14:50:10 EDT 2014


On 3/9/2014 10:46 AM, Wesley wrote:
> I hit a problem alike yours.
> Cannot fix according your method.
>
> Here is snippet:
> root at localhost python]# gdb python 40290
> GNU gdb (GDB) 7.7

> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-unknown-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from python...done.
> Attaching to program: /usr/local/bin/python, process 40290
> Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib64/ld-linux-x86-64.so.2
> 0x00000030a98e15c3 in ?? ()

If you want people to attend to your posts and help, don't post line 
after line of irrelevant boilderplate.

> (gdb) py-bt
> (gdb) py-list
> Unable to locate python frame
> (gdb) py-locals
> Unable to locate python frame
> (gdb)
>
> I use gdb 7.7, python 2.6.6 , centos 6.5 64bit
> Any suggestion?

See above.

-- 
Terry Jan Reedy




More information about the Python-list mailing list