Add a new method 'disassemble' to gdb.Architecture class.
authorSiva Chandra Reddy <sivachandra@sourceware.org>
Thu, 21 Feb 2013 01:46:57 +0000 (01:46 +0000)
committerSiva Chandra Reddy <sivachandra@sourceware.org>
Thu, 21 Feb 2013 01:46:57 +0000 (01:46 +0000)
commit9f44fbc03496a470cf661d011d9bcdcf21859726
tree9fd2d9e47afdc5718ea6dcb017ca812df8bcb30e
parentd373aa7be9bbd3d47988652ba59496db34b0d246
Add a new method 'disassemble' to gdb.Architecture class.

* python/py-arch.c (archpy_disassmble): Implementation of the
new method gdb.Architecture.disassemble.
(arch_object_methods): Add entry for the new method.

* doc/gdb.texinfo (Architectures In Python): Add description
about the new method gdb.Architecture.disassemble.

* testsuite/gdb.python/py-arch.c: New test case
* testsuite/gdb.python/py-arch.exp: New tests to test
gdb.Architecture.disassemble
* testsuite/gdb.python/Makefile.in: Add py-arch to the list of
EXECUTABLES.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/py-arch.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/Makefile.in
gdb/testsuite/gdb.python/py-arch.c [new file with mode: 0644]
gdb/testsuite/gdb.python/py-arch.exp [new file with mode: 0644]