public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-python: use gdb.newest_thread
@ 2011-01-19 18:25 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2011-01-19 18:25 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-python has been updated
       via  a4310c50b8581a511e03efec921bedb34dd22d92 (commit)
      from  0b21bc345fd24f0318ab71b8a1711177b1b3dcd7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit a4310c50b8581a511e03efec921bedb34dd22d92
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 19 11:25:17 2011 -0700

    use gdb.newest_thread

-----------------------------------------------------------------------

Summary of changes:
 gdb/python/lib/gdb/command/backtrace.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

First 500 lines of diff:
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:


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-19 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-19 18:25 [SCM] archer-tromey-python: use gdb.newest_thread tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).