2013-08-30 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Fri, 30 Aug 2013 10:12:19 +0000 (10:12 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Fri, 30 Aug 2013 10:12:19 +0000 (10:12 +0000)
commit96d9056e29036d7d841e71f60648018f115d808e
tree06a57faccd1fc32c944c05e6eeeee02aafefb05f
parente2668a1a80552dc09c288886591f0be9ecbebd83
2013-08-30  Phil Muldoon  <pmuldoon@redhat.com>

PR python/15461

* python/py-arch.c (ARCHPY_REQUIRE_VALID): New macro.
(archpy_name): Check for valid architecture.
(archpy_disassemble): Ditto.

2013-08-30  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-arch.exp: Tests for invalid architecture.
gdb/ChangeLog
gdb/python/py-arch.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-arch.exp