New "producer" attribute of python gdb.Symtab.
authorDoug Evans <dje@google.com>
Thu, 18 Sep 2014 17:09:12 +0000 (10:09 -0700)
committerDoug Evans <dje@google.com>
Thu, 18 Sep 2014 17:09:12 +0000 (10:09 -0700)
commit2b4fd423cf503beb6264590f0517d35f17a6ab8d
tree6cd77a3fb9668459b2262f83874cd31e3c361281
parent92c9bcd479e4cb388a7f286fc42414b115cfc656
New "producer" attribute of python gdb.Symtab.

gdb/ChangeLog:

* NEWS: Mention new "producer" attribute of gdb.Symtab.
* python/py-symtab.c (stpy_get_producer): New function.
(symtab_object_getset): Add "producer" attribute.

gdb/doc/ChangeLog:

* python.texi (Symbol Tables In Python): Document "producer"
attribute of gdb.Symtab objects.

gdb/testsuite/ChangeLog:

* gdb.dwarf2/symtab-producer.exp: New file.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/python.texi
gdb/python/py-symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/symtab-producer.exp [new file with mode: 0644]