From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10219 invoked by alias); 19 Jan 2011 18:25:17 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 10185 invoked by uid 22791); 19 Jan 2011 18:25:16 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Tom Tromey To: Project Archer Subject: [python] fixlet in new-backtrace Date: Wed, 19 Jan 2011 18:25:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2011-q1/txt/msg00019.txt.bz2 I found this while doing a merge to a private branch. newest_thread is a method in the gdb module, not in InferiorThread. Tom diff --git a/gdb/python/lib/gdb/command/backtrace.py b/gdb/python/lib/gdb/command/backtrace.py index 2aa5b90..eeea909 100644 --- a/gdb/python/lib/gdb/command/backtrace.py +++ b/gdb/python/lib/gdb/command/backtrace.py @@ -80,7 +80,7 @@ Use of the 'raw' qualifier avoids any filtering by loadable modules. # FIXME: provide option to start at selected frame # However, should still number as if starting from newest - newest_frame = gdb.selected_thread ().newest_frame () + newest_frame = gdb.newest_frame() iter = itertools.imap (FrameWrapper, FrameIterator (newest_frame)) if filter: