2011-03-17 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Thu, 17 Mar 2011 09:36:17 +0000 (09:36 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Thu, 17 Mar 2011 09:36:17 +0000 (09:36 +0000)
commit29703da4b1a5b80034c3f33b0c8f34ce6e1f08d5
treec0999d1a168f21196c3c8ba5b1401f05b00236d3
parenta6363bfc3832f13436cb744783aa96eaec972006
2011-03-17  Phil Muldoon  <pmuldoon@redhat.com>

    * python/py-symtab.c: Populate symtab_object_methods,
    sal_object_methods.
    (stpy_is_valid): New function.
    (salpy_is_valid): Ditto.
    * python/py-symbol.c: Declare symbol_object_methods.
    Populate.
    (sympy_is_valid): New function.
    * python/py-objfile.c: Declare objfile_object_methods.
    Populate.
    (objfpy_is_valid): New function.
    * python/py-inferior.c: Populate inferior_object_methods.
    (infpy_is_valid): New function.
    * python/py-infthread.c: Populate thread_object_methods.
    (thpy_is_valid): New function.
    * python/py-block.c: Declare block_object_methods.
    Populate.  Declare
    block_iterator_object_methods.  Populate.
    (blpy_is_valid): New function.
    (blpy_iter_is_valid): Ditto.

2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>

    * gdb.python/Makefile.in: Add py-objfile.
    * gdb.python/py-objfile.exp: New file.
    * gdb.python/py-objfile.c: New file.
    * gdb.python/py-block.exp: Add is_valid tests.
    * gdb.python/py-inferior.exp: Ditto.
    * gdb.python/py-infthread.exp: Ditto.
    * gdb.python/py-symbol.exp: Ditto.
    * gdb.python/py-symtab.exp: Ditto.

2011-03-17  Phil Muldoon  <pmuldoon@redhat.com>

    * gdb.texinfo (Blocks In Python): Add is_valid method
              description.
      (Inferiors In Python): Likewise.
      (Threads In Python): Likewise.
      (Symbols In Python): Likewise.
      (Objfiles In Python): Likewise.
      (Symbol Tables In Python): Likewise.
19 files changed:
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/py-block.c
gdb/python/py-inferior.c
gdb/python/py-infthread.c
gdb/python/py-objfile.c
gdb/python/py-symbol.c
gdb/python/py-symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/Makefile.in
gdb/testsuite/gdb.python/py-block.exp
gdb/testsuite/gdb.python/py-inferior.exp
gdb/testsuite/gdb.python/py-infthread.exp
gdb/testsuite/gdb.python/py-objfile.c [new file with mode: 0644]
gdb/testsuite/gdb.python/py-objfile.exp [new file with mode: 0644]
gdb/testsuite/gdb.python/py-symbol.exp
gdb/testsuite/gdb.python/py-symtab.exp