public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/11069] New: Port gdb.Block and gdb.Symbol from archer-tromey-python
@ 2009-12-09 8:12 andre dot poenitz at nokia dot com
2010-01-20 13:20 ` [Bug python/11069] Port gdb.Block and gdb.Symbol and gdb.Symtab_and_line " pmuldoon at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: andre dot poenitz at nokia dot com @ 2009-12-09 8:12 UTC (permalink / raw)
To: gdb-prs
It would be nice if gdb.Block and gdb.Symbol were available in FSF cvs, too.
--
Summary: Port gdb.Block and gdb.Symbol from archer-tromey-python
Product: gdb
Version: 7.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: python
AssignedTo: unassigned at sourceware dot org
ReportedBy: andre dot poenitz at nokia dot com
CC: gdb-prs at sourceware dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11069
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/11069] Port gdb.Block and gdb.Symbol and gdb.Symtab_and_line from archer-tromey-python
2009-12-09 8:12 [Bug python/11069] New: Port gdb.Block and gdb.Symbol from archer-tromey-python andre dot poenitz at nokia dot com
2010-01-20 13:20 ` [Bug python/11069] Port gdb.Block and gdb.Symbol and gdb.Symtab_and_line " pmuldoon at redhat dot com
@ 2010-01-20 13:20 ` pmuldoon at redhat dot com
2010-02-24 22:07 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2010-01-20 13:20 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pmuldoon at redhat dot com 2010-01-20 13:20 -------
gdb.Symtab_and_line also needs to be ported as there are inter-dependencies
between the three. Some changes to gdb.Frame need to be imported to support the
import.
gdb.Block/Symbol/Symtab_and_line are missing tests and documentation.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware dot|pmuldoon at redhat dot com
|org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Summary|Port gdb.Block and |Port gdb.Block and
|gdb.Symbol from archer- |gdb.Symbol and
|tromey-python |gdb.Symtab_and_line from
| |archer-tromey-python
http://sourceware.org/bugzilla/show_bug.cgi?id=11069
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/11069] Port gdb.Block and gdb.Symbol and gdb.Symtab_and_line from archer-tromey-python
2009-12-09 8:12 [Bug python/11069] New: Port gdb.Block and gdb.Symbol from archer-tromey-python andre dot poenitz at nokia dot com
@ 2010-01-20 13:20 ` pmuldoon at redhat dot com
2010-01-20 13:20 ` pmuldoon at redhat dot com
2010-02-24 22:07 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2010-01-20 13:20 UTC (permalink / raw)
To: gdb-prs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |11036
nThis| |
http://sourceware.org/bugzilla/show_bug.cgi?id=11069
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/11069] Port gdb.Block and gdb.Symbol and gdb.Symtab_and_line from archer-tromey-python
2009-12-09 8:12 [Bug python/11069] New: Port gdb.Block and gdb.Symbol from archer-tromey-python andre dot poenitz at nokia dot com
2010-01-20 13:20 ` [Bug python/11069] Port gdb.Block and gdb.Symbol and gdb.Symtab_and_line " pmuldoon at redhat dot com
2010-01-20 13:20 ` pmuldoon at redhat dot com
@ 2010-02-24 22:07 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2010-02-24 22:07 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pmuldoon at redhat dot com 2010-02-24 22:07 -------
CVSROOT: /cvs/src
Module name: src
Changes by: pmuldoon@sourceware.org 2010-02-24 21:18:28
Modified files:
gdb : ChangeLog Makefile.in NEWS
gdb/doc : ChangeLog gdb.texinfo
gdb/python : py-frame.c python-internal.h python.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: Makefile.in
Added files:
gdb/python : py-block.c py-symbol.c py-symtab.c
gdb/testsuite/gdb.python: py-block.c py-block.exp py-symbol.c
py-symbol.exp py-symtab.exp
Log message:
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* python/python.c (_initialize_python): Call
gdbpy_initialize_symtabs, gdbpy_initialize_symbols and
gdbpy_initialize_blocks.
* python/python-internal.h: Declare struct symbol, block and
symtab_and_line. Declare block_object_type and
symbol_object_type
(gdbpy_lookup_symbol gdbpy_block_for_pc)
(symtab_and_line_to_sal_object, symtab_to_symtab_object)
(symbol_to_symbol_object, block_to_block_object)
(gdbpy_initialize_symtabs,gdbpy_initialize_symbols)
(gdbpy_initialize_blocks ): Declare.
* python/py-frame.c (frapy_block, frapy_function, frapy_find_sal)
(frapy_select): Add methods.
(frapy_read_var): Add symbol branch.
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab,
py-block.
(SUBDIR_PYTHON_SRCS): Likewise.
(py-symbol.o): New rule.
(py-symtab.o): Likewise.
(py-block.o): Likewise.
* python/py-symbol.c: New file.
* python/py-symtab.c: Likewise.
* python/py-block.c: Likewise.
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
* Makefile.in: Add py-block and py-symbol.
* gdb.python/py-symbol.exp: New File.
* gdb.python/py-symtab.exp: New File.
* gdb.python/py-block.exp: New File.
* gdb.python/py-symbol.c: New File.
* gdb.python/py-block.c: New File.
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
* gdb.texinfo (Frames In Python): Add block, find_sal, function
and select method descriptions.
(Python API): Add Blocks In Python, Symbols in Python and Symbol
Tables in Python to menu.
(Blocks In Python): New node.
(Symbols In Python): New node.
(Symbol Tables in Python): New node.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11395&r2=1.11396
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&r1=1.1111&r2=1.1112
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.357&r2=1.358
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1012&r2=1.1013
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.671&r2=1.672
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/py-block.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/py-symbol.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/py-symtab.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/py-frame.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/python-internal.h.diff?cvsroot=src&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2152&r2=1.2153
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-block.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-block.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-symbol.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-symbol.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-symtab.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/Makefile.in.diff?cvsroot=src&r1=1.3&r2=1.4
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11069
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-24 22:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-09 8:12 [Bug python/11069] New: Port gdb.Block and gdb.Symbol from archer-tromey-python andre dot poenitz at nokia dot com
2010-01-20 13:20 ` [Bug python/11069] Port gdb.Block and gdb.Symbol and gdb.Symtab_and_line " pmuldoon at redhat dot com
2010-01-20 13:20 ` pmuldoon at redhat dot com
2010-02-24 22:07 ` pmuldoon 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).