PR gdb/10728
authorChris Moller <cmoller@cygnus>
Mon, 8 Feb 2010 18:27:53 +0000 (18:27 +0000)
committerChris Moller <cmoller@cygnus>
Mon, 8 Feb 2010 18:27:53 +0000 (18:27 +0000)
commit83b10087f47feb355bbdc02f8fcd336c0bf000aa
tree71a06b00238d30b35d0aecea6c52f633a667f664
parent99903ae39ebb2032c28aa7bb8b24d6d0f901a2f1
PR gdb/10728
* valarith.c (value_ptrdiff): Added a test for a zero type length,
warn if found, and assume length = 1.
* gdb.cp/pr10728-x.h: New file.
* gdb.cp/pr10728-x.cc: New file.
* gdb.cp/pr10728-y.cc: New file.
* gdb.cp/pr10728.exp: New file.
* gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/Makefile.in
gdb/testsuite/gdb.cp/pr10728-x.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/pr10728-x.h [new file with mode: 0644]
gdb/testsuite/gdb.cp/pr10728-y.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/pr10728.exp [new file with mode: 0644]
gdb/valarith.c