Make this testcase a bit more realistic. The current code
authorJoel Brobecker <brobecker@gnat.com>
Thu, 4 Jan 2007 10:59:03 +0000 (10:59 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 4 Jan 2007 10:59:03 +0000 (10:59 +0000)
commitf9e182823dec22a74e570bd4257bf7d1ef2e3dfd
tree4af4a3599131d7874da03906f2f84f710e3e7761
parent5d15052e9db089660edcf4eb229e3ee17b3b3631
    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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/null_record/bar.adb
gdb/testsuite/gdb.ada/null_record/bar.ads
gdb/testsuite/gdb.ada/null_record/null_record.adb