* 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. |
||
|---|---|---|
| .. | ||
| py-cmd.c | ||
| py-frame.c | ||
| py-function.c | ||
| py-objfile.c | ||
| py-prettyprint.c | ||
| py-type.c | ||
| py-utils.c | ||
| py-value.c | ||
| python-internal.h | ||
| python.c | ||
| python.h | ||