public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/15108] New: add a way to access section data from Python
@ 2013-02-06 18:46 tromey at redhat dot com
  2013-02-08 23:21 ` [Bug python/15108] " dje at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-02-06 18:46 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15108
           Summary: add a way to access section data from Python
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


It would occasionally be nice to be able to get the
raw bits of a section from an objfile using Python.

-- 
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/15108] add a way to access section data from Python
  2013-02-06 18:46 [Bug python/15108] New: add a way to access section data from Python tromey at redhat dot com
@ 2013-02-08 23:21 ` dje at google dot com
  2013-02-08 23:27 ` dje at google dot com
  2013-02-08 23:39 ` dje at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dje at google dot com @ 2013-02-08 23:21 UTC (permalink / raw)
  To: gdb-prs

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

dje at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at google dot com

-- 
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/15108] add a way to access section data from Python
  2013-02-06 18:46 [Bug python/15108] New: add a way to access section data from Python tromey at redhat dot com
  2013-02-08 23:21 ` [Bug python/15108] " dje at google dot com
@ 2013-02-08 23:27 ` dje at google dot com
  2013-02-08 23:39 ` dje at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dje at google dot com @ 2013-02-08 23:27 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from dje at google dot com 2013-02-08 23:27:04 UTC ---
Or even a libelf-like API for Python (and also something similar but with a bfd
implementation for non-ELF).

I've always wanted gdb to export basic handles for basic objects that I can
then use with APIs that are quite gdb-independent.
[E.g., if gdb exported the fd of an objfile, one could have a libelf_openfd
routine.  And now we're on our way to building a much bigger ecosystem.]

-- 
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/15108] add a way to access section data from Python
  2013-02-06 18:46 [Bug python/15108] New: add a way to access section data from Python tromey at redhat dot com
  2013-02-08 23:21 ` [Bug python/15108] " dje at google dot com
  2013-02-08 23:27 ` dje at google dot com
@ 2013-02-08 23:39 ` dje at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dje at google dot com @ 2013-02-08 23:39 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from dje at google dot com 2013-02-08 23:39:36 UTC ---
IWBN if GDB could export an underlying file IO object that a libelf-like API
could use.  Then the latter could be used with a remote target.

-- 
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:[~2013-02-08 23:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 18:46 [Bug python/15108] New: add a way to access section data from Python tromey at redhat dot com
2013-02-08 23:21 ` [Bug python/15108] " dje at google dot com
2013-02-08 23:27 ` dje at google dot com
2013-02-08 23:39 ` dje at google 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).