diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-09-12 18:27:57 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-09-12 18:27:57 -0400 |
commit | 4aa8e6c2387e796649279c2190cd499b579d028c (patch) | |
tree | 334b82d10a44ba8b1c7d7b627a1330a1c94390c9 /gdb/python/py-objfile.c | |
parent | 3c025cfe5efc44eb4dfb03b53dca28e75096dd1e (diff) | |
download | gdb-4aa8e6c2387e796649279c2190cd499b579d028c.zip gdb-4aa8e6c2387e796649279c2190cd499b579d028c.tar.gz gdb-4aa8e6c2387e796649279c2190cd499b579d028c.tar.bz2 |
python: Add tests for trying to use an invalid Inferior object
This patch adds tests for trying to use property or methods on a
gdb.Inferior object that represents an inferior that does not exist
anymore. We expect an exception to be thrown.
gdb/testsuite/ChangeLog:
* gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
object.
Diffstat (limited to 'gdb/python/py-objfile.c')
0 files changed, 0 insertions, 0 deletions