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


Groups > comp.lang.python > #68087

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'debugging': 0.07; 'extent': 0.07; 'gpl': 0.07; 'method.': 0.07; 'permitted': 0.07; 'see:': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject: [': 0.09; 'subject:using': 0.09; 'url:software': 0.09; 'python': 0.11; 'bug': 0.12; 'jan': 0.12; '<>.': 0.14; 'attaching': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:Problem': 0.16; 'subject:etc.': 0.16; 'symbols': 0.16; 'url:gnu': 0.16; 'url:licenses': 0.16; 'warranty,': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'foundation,': 0.20; 'later': 0.20; 'manual': 0.22; 'header:User-Agent:1': 0.23; 'law.': 0.26; 'posts': 0.26; 'post': 0.26; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'url:bugs': 0.29; '(c)': 0.29; 'am,': 0.29; 'reporting': 0.29; 'related': 0.29; 'attend': 0.31; 'at:': 0.34; 'problem': 0.35; 'there': 0.35; 'version': 0.36; 'url:org': 0.36; 'configured': 0.38; 'subject:]': 0.38; 'to:addr:python-list': 0.38; 'help,': 0.39; 'to:addr:python.org': 0.39; 'unable': 0.39; 'received:org': 0.40; 'according': 0.40; 'commands': 0.60; 'free': 0.61; 'details.': 0.61; 'received:173': 0.61; 'license': 0.66; 'here': 0.66; 'subject:. ': 0.67; 'online': 0.71; '6.5': 0.84; 'irrelevant': 0.84; 'received:fios.verizon.net': 0.84; 'skip:/ 30': 0.84; 'yours.': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Problem using py-bt, py-locals, etc. during GDB debugging [solved]
Date Sun, 09 Mar 2014 14:50:10 -0400
References <20121206213941.GA5363@mshroyer-d> <mailman.594.1354839735.29569.python-list@python.org> <aa0b71e6-cb87-40ec-897e-8215c3176ec0@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-254-207.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
In-Reply-To <aa0b71e6-cb87-40ec-897e-8215c3176ec0@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7959.1394391037.18130.python-list@python.org> (permalink)
Lines 45
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1394391037 news.xs4all.nl 2891 [2001:888:2000:d::a6]:46269
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68087

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web