GNU Binutils with patches for OS216
Révision | 832373b6daf71001bfd5771ffa4dab55ba8e794e (tree) |
---|---|
l'heure | 2004-03-11 05:41:31 |
Auteur | Michael Chastain <mec@goog...> |
Commiter | Michael Chastain |
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
From Corinna Vinschen with modifications.
* gdb.cp/classes.cc (enums1): Add a line to extend scope of
local variable obj_with_enum.
* gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
results with obj_with_enum.
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.cc: New file, copied from misc.cc.
* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/misc.cc: Add copyright notice.
@@ -1,3 +1,20 @@ | ||
1 | +2004-03-09 Michael Chastain <mec.gnu@mindspring.com> | |
2 | + | |
3 | + From Corinna Vinschen with modifications. | |
4 | + * gdb.cp/classes.cc (enums1): Add a line to extend scope of | |
5 | + local variable obj_with_enum. | |
6 | + * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL | |
7 | + results with obj_with_enum. | |
8 | + | |
9 | +2004-03-09 Michael Chastain <mec.gnu@mindspring.com> | |
10 | + | |
11 | + * gdb.cp/classes.cc: New file, copied from misc.cc. | |
12 | + * gdb.cp/classes.exp: Use classes.cc rather than misc.cc. | |
13 | + | |
14 | +2004-03-09 Michael Chastain <mec.gnu@mindspring.com> | |
15 | + | |
16 | + * gdb.cp/misc.cc: Add copyright notice. | |
17 | + | |
1 | 18 | 2004-03-05 David Carlton <carlton@kealia.com> |
2 | 19 | |
3 | 20 | * gdb.cp/rtti.exp: Add 'print *obj3' test. |
@@ -27,7 +27,7 @@ if $tracelevel then { | ||
27 | 27 | |
28 | 28 | if { [skip_cplus_tests] } { continue } |
29 | 29 | |
30 | -set testfile "misc" | |
30 | +set testfile "classes" | |
31 | 31 | set srcfile ${testfile}.cc |
32 | 32 | set binfile ${objdir}/${subdir}/${testfile} |
33 | 33 |
@@ -633,11 +633,6 @@ proc test_enums {} { | ||
633 | 633 | |
634 | 634 | gdb_test "next" "" |
635 | 635 | |
636 | - # TODO: with gcc HEAD 2003-12-28 21:08:30 UTC -gdwarf-2, | |
637 | - # gdb says that obj_with_enum is out of scope here and the | |
638 | - # tests after this FAIL. This needs investigation. | |
639 | - # -- chastain 2003-12-30 | |
640 | - | |
641 | 636 | # print the object again |
642 | 637 | |
643 | 638 | gdb_test "print obj_with_enum" \ |
@@ -1,3 +1,23 @@ | ||
1 | +/* This testcase is part of GDB, the GNU debugger. | |
2 | + | |
3 | + Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 | |
4 | + Free Software Foundation, Inc. | |
5 | + | |
6 | + This program is free software; you can redistribute it and/or modify | |
7 | + it under the terms of the GNU General Public License as published by | |
8 | + the Free Software Foundation; either version 2 of the License, or | |
9 | + (at your option) any later version. | |
10 | + | |
11 | + This program is distributed in the hope that it will be useful, | |
12 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | + GNU General Public License for more details. | |
15 | + | |
16 | + You should have received a copy of the GNU General Public License | |
17 | + along with this program; if not, write to the Free Software | |
18 | + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
19 | + */ | |
20 | + | |
1 | 21 | // Test various -*- C++ -*- things. |
2 | 22 | |
3 | 23 | // ====================== basic C++ types ======================= |