This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite gdb.ada/null_record/bar.ads ...
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 4 Jan 2007 10:59:03 -0000
- Subject: src/gdb/testsuite gdb.ada/null_record/bar.ads ...
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2007-01-04 10:59:03
Modified files:
gdb/testsuite/gdb.ada/null_record: bar.ads bar.adb
null_record.adb
gdb/testsuite : ChangeLog
Log message:
Make this testcase a bit more realistic. The current code
is too simplistic, and allows the compiler to optimize out
some of the entities we need for this testcase.
* gdb.ada/null_record/bar.ads (Void_Star): New type.
(Do_Nothing): Add extra parameter.
* gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
* gdb.ada/null_record/null_record.adb: Fake use of type Empty
by using a variable of type Void_Star.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.ada/null_record/bar.ads.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.ada/null_record/bar.adb.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.ada/null_record/null_record.adb.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1300&r2=1.1301