public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/12367] New: need method gdb.newest_frame
@ 2011-01-05 20:25 tromey at redhat dot com
  2011-01-06 20:53 ` [Bug python/12367] " tromey at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-01-05 20:25 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12367

           Summary: need method gdb.newest_frame
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com


There is no way to get the newest frame in Python.
You can only get the selected frame.
We should add gdb.newest_frame for this.
Note that the Frames in Python node in the manual uses
this method in an example, even though it does not exist.
Maybe we just forgot to merge it.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug python/12367] need method gdb.newest_frame
  2011-01-05 20:25 [Bug python/12367] New: need method gdb.newest_frame tromey at redhat dot com
@ 2011-01-06 20:53 ` tromey at redhat dot com
  2011-01-06 21:11 ` cvs-commit at gcc dot gnu.org
  2011-01-06 21:16 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-01-06 20:53 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12367

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug python/12367] need method gdb.newest_frame
  2011-01-05 20:25 [Bug python/12367] New: need method gdb.newest_frame tromey at redhat dot com
  2011-01-06 20:53 ` [Bug python/12367] " tromey at redhat dot com
@ 2011-01-06 21:11 ` cvs-commit at gcc dot gnu.org
  2011-01-06 21:16 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-01-06 21:11 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12367

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-01-06 21:10:56 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2011-01-06 21:10:53

Modified files:
    gdb            : ChangeLog NEWS 
    gdb/doc        : ChangeLog gdb.texinfo 
    gdb/python     : py-frame.c python-internal.h python.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.python: py-frame.exp 

Log message:
    gdb
    PR python/12367:
    * NEWS: Add item.
    * python/python.c (GdbMethods): Add "newest_frame" method.
    * python/python-internal.h (gdbpy_newest_frame): Declare.
    * python/py-frame.c (gdbpy_newest_frame): New function.
    gdb/doc
    * gdb.texinfo (Frames In Python): Document gdb.newest_thread.
    gdb/testsuite
    * gdb.python/py-frame.exp: Test gdb.newest_frame.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12438&r2=1.12439
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.418&r2=1.419
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1135&r2=1.1136
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.785&r2=1.786
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-frame.c.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python-internal.h.diff?cvsroot=src&r1=1.38&r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.55&r2=1.56
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2542&r2=1.2543
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-frame.exp.diff?cvsroot=src&r1=1.8&r2=1.9

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug python/12367] need method gdb.newest_frame
  2011-01-05 20:25 [Bug python/12367] New: need method gdb.newest_frame tromey at redhat dot com
  2011-01-06 20:53 ` [Bug python/12367] " tromey at redhat dot com
  2011-01-06 21:11 ` cvs-commit at gcc dot gnu.org
@ 2011-01-06 21:16 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-01-06 21:16 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12367

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.3

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2011-01-06 21:16:34 UTC ---
Fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-06 21:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05 20:25 [Bug python/12367] New: need method gdb.newest_frame tromey at redhat dot com
2011-01-06 20:53 ` [Bug python/12367] " tromey at redhat dot com
2011-01-06 21:11 ` cvs-commit at gcc dot gnu.org
2011-01-06 21:16 ` tromey at redhat dot com

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).