public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/16243] New: python objfiles API oddity
@ 2013-11-25 19:16 tromey at redhat dot com
  2014-02-26  8:59 ` [Bug python/16243] " pmuldoon at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2013-11-25 19:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16243

            Bug ID: 16243
           Summary: python objfiles API oddity
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

The documentation for gdb.objfiles should mention that
the objfiles returned are actually from the current
program space.

Also I think there should maybe be a method on gdb.Progspace to
return that program space's objfiles.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/16243] python objfiles API oddity
  2013-11-25 19:16 [Bug python/16243] New: python objfiles API oddity tromey at redhat dot com
@ 2014-02-26  8:59 ` pmuldoon at redhat dot com
  2014-02-26 19:57 ` tromey at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pmuldoon at redhat dot com @ 2014-02-26  8:59 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16243

Phil Muldoon <pmuldoon at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |pmuldoon at redhat dot com
           Assignee|unassigned at sourceware dot org   |pmuldoon at redhat dot com

--- Comment #1 from Phil Muldoon <pmuldoon at redhat dot com> ---
Looking at py-progspace.c, pspy_get_filename assumes only one (or no) object
file can be associated with a program space.

Maybe there was a typo in your comment "program space's objfiles"?

I can easily add a function to return a gdb.Objfile object, but I wanted to
check first to make sure there was not an additional bug here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/16243] python objfiles API oddity
  2013-11-25 19:16 [Bug python/16243] New: python objfiles API oddity tromey at redhat dot com
  2014-02-26  8:59 ` [Bug python/16243] " pmuldoon at redhat dot com
@ 2014-02-26 19:57 ` tromey at redhat dot com
  2014-02-26 20:49 ` pmuldoon at redhat dot com
  2022-06-05 15:13 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2014-02-26 19:57 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom Tromey <tromey at redhat dot com> ---
The original bug is referring to the "gdb.objfiles" method.
It actually returns just the objfiles in the current program space.

I have most of this PR (not the doc bits) on a branch.
I'll try to clean it up.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/16243] python objfiles API oddity
  2013-11-25 19:16 [Bug python/16243] New: python objfiles API oddity tromey at redhat dot com
  2014-02-26  8:59 ` [Bug python/16243] " pmuldoon at redhat dot com
  2014-02-26 19:57 ` tromey at redhat dot com
@ 2014-02-26 20:49 ` pmuldoon at redhat dot com
  2022-06-05 15:13 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pmuldoon at redhat dot com @ 2014-02-26 20:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16243

Phil Muldoon <pmuldoon at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|pmuldoon at redhat dot com         |tromey at redhat dot com

--- Comment #3 from Phil Muldoon <pmuldoon at redhat dot com> ---
Okay thanks.  Assigning to you for when you get some time to do the docs and
push.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug python/16243] python objfiles API oddity
  2013-11-25 19:16 [Bug python/16243] New: python objfiles API oddity tromey at redhat dot com
                   ` (2 preceding siblings ...)
  2014-02-26 20:49 ` pmuldoon at redhat dot com
@ 2022-06-05 15:13 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2022-06-05 15:13 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16243

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
This was fixed a while ago.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2022-06-05 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 19:16 [Bug python/16243] New: python objfiles API oddity tromey at redhat dot com
2014-02-26  8:59 ` [Bug python/16243] " pmuldoon at redhat dot com
2014-02-26 19:57 ` tromey at redhat dot com
2014-02-26 20:49 ` pmuldoon at redhat dot com
2022-06-05 15:13 ` tromey at sourceware dot org

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