• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révision832373b6daf71001bfd5771ffa4dab55ba8e794e (tree)
l'heure2004-03-11 05:41:31
AuteurMichael Chastain <mec@goog...>
CommiterMichael Chastain

Message de Log

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.

Change Summary

Modification

--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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+
118 2004-03-05 David Carlton <carlton@kealia.com>
219
320 * gdb.cp/rtti.exp: Add 'print *obj3' test.
--- a/gdb/testsuite/gdb.cp/classes.exp
+++ b/gdb/testsuite/gdb.cp/classes.exp
@@ -27,7 +27,7 @@ if $tracelevel then {
2727
2828 if { [skip_cplus_tests] } { continue }
2929
30-set testfile "misc"
30+set testfile "classes"
3131 set srcfile ${testfile}.cc
3232 set binfile ${objdir}/${subdir}/${testfile}
3333
@@ -633,11 +633,6 @@ proc test_enums {} {
633633
634634 gdb_test "next" ""
635635
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-
641636 # print the object again
642637
643638 gdb_test "print obj_with_enum" \
--- a/gdb/testsuite/gdb.cp/misc.cc
+++ b/gdb/testsuite/gdb.cp/misc.cc
@@ -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+
121 // Test various -*- C++ -*- things.
222
323 // ====================== basic C++ types =======================