From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3781 invoked by alias); 13 Jun 2011 18:51:36 -0000 Received: (qmail 3770 invoked by uid 22791); 13 Jun 2011 18:51:36 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.dalim.com (HELO mail.dalim.com) (145.253.191.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Jun 2011 18:51:20 +0000 Received: from mail1.dalim.com (mail1.dalim.com [192.168.100.120]) by mail.dalim.com (Postfix) with ESMTP id 03F17B811D for ; Mon, 13 Jun 2011 20:51:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.dalim.com (Postfix) with ESMTP id 072E8308078 for ; Mon, 13 Jun 2011 20:51:15 +0200 (CEST) Received: from mail1.dalim.com ([127.0.0.1]) by localhost (mail1.dalim.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GSuDSU1BniqN for ; Mon, 13 Jun 2011 20:51:14 +0200 (CEST) Received: from [192.168.1.30] (bru67-1-82-227-49-55.fbx.proxad.net [82.227.49.55]) by mail1.dalim.com (Postfix) with ESMTPSA id C7189308077 for ; Mon, 13 Jun 2011 20:51:14 +0200 (CEST) Message-ID: <4DF65C22.7020106@dalim.com> Date: Mon, 13 Jun 2011 18:51:00 -0000 From: jacques klein User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: gdb@sourceware.org Subject: python and gdbmi Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00096.txt.bz2 Using gdb-7.3.50 (20110607). Maybe a bug, it seems that the python expr gdb.execute('interpreter-exec mi -file-list-exec-source-files', to_string=True) returns an empty string and the command result goes to stdout ( to_string has some effect, but not the expected one) or did I miss something ? But maybe there is a python gdb command or class to get the same info ?. Any help is welcome.