This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog python/py-value.c testsuite/ ...
- From: pmuldoon at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 21 Sep 2009 09:32:28 -0000
- Subject: src/gdb ChangeLog python/py-value.c testsuite/ ...
CVSROOT: /cvs/src
Module name: src
Changes by: pmuldoon@sourceware.org 2009-09-21 09:32:28
Modified files:
gdb : ChangeLog
gdb/python : py-value.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: py-value.c py-value.exp
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10889&r2=1.10890
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/py-value.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1961&r2=1.1962
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-value.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-value.exp.diff?cvsroot=src&r1=1.1&r2=1.2