From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10070 invoked by alias); 7 Jul 2010 20:23:28 -0000 Received: (qmail 10009 invoked by uid 22791); 7 Jul 2010 20:23:26 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-ew0-f41.google.com (HELO mail-ew0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Jul 2010 20:23:22 +0000 Received: by ewy28 with SMTP id 28so33589ewy.0 for ; Wed, 07 Jul 2010 13:23:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.28.72 with SMTP id l8mr6186067ebc.88.1278534199830; Wed, 07 Jul 2010 13:23:19 -0700 (PDT) Received: by 10.231.173.206 with HTTP; Wed, 7 Jul 2010 13:23:19 -0700 (PDT) Date: Wed, 07 Jul 2010 20:23:00 -0000 Message-ID: Subject: python: get filename for selected frame? From: Joseph Garvin To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2010-07/txt/msg00023.txt.bz2 Is there anyway to get at the filename for the source file associated with the currently selected frame from python? It'd assist with pretty printing boost backtraces a lot.