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


Groups > comp.lang.python > #44587

Re: Finding referents with Gdb

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.93; '*S*': 0.01; 'cc:addr:python-list': 0.11; '23,': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'subject:with': 0.35; 'received:google.com': 0.35; 'dave': 0.60; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=S9Nz/RoeyOz6XHN/m6GOBndW8CSwHJoHypL/X9YaunQ=; b=Ecvo8RnXP5B/Kdqx6QV0vZvGuB7ZxSlK5DfuY1hV4ImiLIV7NPrv7fSCkHTbKkc5yF XrDGvpLoOkZI+OGGvAgoPkGG6oMd/PioXW/wjke5lLZ7abCX8MqwnoV0lA4jT4kMMCIg 1qxGHGrM1EWPia11HISm91bi3eYva01wN+yAOxSlULR3dRcLHhN7GrBdbZNK8soBpqCH OkeytIJgBE/kbqeaf9zMtfRDAli/L9uqXmI3loLAR0WO4L4G0NPI2Isa8hPZ1uAhlWwA w6VyvmKZGu3kCOFXRunkW9ua/4i9AbVtATjC4ffCfgn6SOtacm738QqlJMWGb+wO5Hkg u2AQ==
MIME-Version 1.0
X-Received by 10.50.12.70 with SMTP id w6mr1406114igb.66.1367405602818; Wed, 01 May 2013 03:53:22 -0700 (PDT)
Sender skip.montanaro@gmail.com
In-Reply-To <CANm61jfK-W+rhZz+68va_P7R-j1ddq0-RhLawigC3kc4md=Yxw@mail.gmail.com>
References <CANm61jfK-W+rhZz+68va_P7R-j1ddq0-RhLawigC3kc4md=Yxw@mail.gmail.com>
Date Wed, 1 May 2013 05:53:22 -0500
X-Google-Sender-Auth 41FJkUann_IWWq_x6AOMbKD8CEk
Subject Re: Finding referents with Gdb
From Skip Montanaro <skip@pobox.com>
To Dave Butler <daveb@tanagerproductions.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1214.1367405605.3114.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367405605 news.xs4all.nl 15945 [2001:888:2000:d::a6]:59509
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44587

Show key headers only | View raw


On Tue, Apr 23, 2013 at 9:52 AM, Dave Butler
<daveb@tanagerproductions.com> wrote:
> with gdb, can you find referents of an object given an object id?

Look at the C code for gc.get_referents and set things up to call it from GDB.

Skip

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


Thread

Re: Finding referents with Gdb Skip Montanaro <skip@pobox.com> - 2013-05-01 05:53 -0500

csiph-web