From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21566 invoked by alias); 30 Mar 2009 19:08:07 -0000 Received: (qmail 21556 invoked by uid 22791); 30 Mar 2009 19:08:06 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Mar 2009 19:08:01 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2UJ7t8D002848; Mon, 30 Mar 2009 15:07:55 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2UJ7t99031586; Mon, 30 Mar 2009 15:07:55 -0400 Received: from opsy.redhat.com (vpn-13-112.rdu.redhat.com [10.11.13.112]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n2UJ7sPL023414; Mon, 30 Mar 2009 15:07:54 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id B8CD1508240; Mon, 30 Mar 2009 13:07:47 -0600 (MDT) To: Thiago Jung Bauermann Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [rfc] python API exposing inferior's frame stack. References: <1236706351.11106.17.camel@localhost.localdomain> <1237133466.316.16.camel@localhost.localdomain> <1237160806.8098.8.camel@localhost.localdomain> <1237587320.6897.20.camel@localhost.localdomain> <1238385114.7100.32.camel@localhost.localdomain> From: Tom Tromey Reply-To: tromey@redhat.com Date: Mon, 30 Mar 2009 19:09:00 -0000 In-Reply-To: <1238385114.7100.32.camel@localhost.localdomain> (Thiago Jung Bauermann's message of "Mon\, 30 Mar 2009 00\:51\:54 -0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00686.txt.bz2 >>>>> "Thiago" == Thiago Jung Bauermann writes: Thiago> 2009-03-30 Thiago Jung Bauermann Thiago> Expose frames to Python. [...] Thiago> +static PyObject * Thiago> +frapy_name (PyObject *self, PyObject *args) [...] Thiago> + if (name) Thiago> + result = target_string_to_unicode (name, strlen (name)); I think symbols are assumed to use the host encoding. Ok with this fix. Tom