Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68080 > unrolled thread

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

Started byWesley <nispray@gmail.com>
First post2014-03-09 07:46 -0700
Last post2014-03-09 14:50 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Problem using py-bt, py-locals, etc. during GDB debugging [solved] Wesley <nispray@gmail.com> - 2014-03-09 07:46 -0700
    Re: Problem using py-bt, py-locals, etc. during GDB debugging [solved] Terry Reedy <tjreedy@udel.edu> - 2014-03-09 14:50 -0400

#68080 — Re: Problem using py-bt, py-locals, etc. during GDB debugging [solved]

FromWesley <nispray@gmail.com>
Date2014-03-09 07:46 -0700
SubjectRe: Problem using py-bt, py-locals, etc. during GDB debugging [solved]
Message-ID<aa0b71e6-cb87-40ec-897e-8215c3176ec0@googlegroups.com>
I hit a problem alike yours.
Cannot fix according your method.

Here is snippet:
root@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 ?? ()
(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?

Thanks.
Wesley

[toc] | [next] | [standalone]


#68087

FromTerry Reedy <tjreedy@udel.edu>
Date2014-03-09 14:50 -0400
Message-ID<mailman.7959.1394391037.18130.python-list@python.org>
In reply to#68080
On 3/9/2014 10:46 AM, Wesley wrote:
> I hit a problem alike yours.
> Cannot fix according your method.
>
> Here is snippet:
> root@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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web