diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2009-09-21 09:32:28 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2009-09-21 09:32:28 +0000 |
commit | 2e4d963fb27e10835c44564788b9c3d25bc21119 (patch) | |
tree | 86fc576d3de53a708a84367fd5300e3abfcba5ce /depcomp | |
parent | cdfbdf303db54c1ab1ef02a44872976e0f119530 (diff) | |
download | gdb-2e4d963fb27e10835c44564788b9c3d25bc21119.zip gdb-2e4d963fb27e10835c44564788b9c3d25bc21119.tar.gz gdb-2e4d963fb27e10835c44564788b9c3d25bc21119.tar.bz2 |
2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
* python/py-value.c (valpy_getitem): Test value before allowing
subscript operation.
2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_subscript_regression): New
function. Test for invalid subscripts.
* gdb.python/py-value.c (main): Add test array, and pointer to it.
(ptr_ref): New function.
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions