This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
"Chris" == Chris Moller<cmoller@redhat.com> writes:
Chris> The attached stuff is a patch for PR9399:
Chris> I've assigned that bug to myself. If you're happy with the patch, let Chris> me know and I'll close the bug. (Or do whatever you usually do...)
Yeah, what I do is set the target milestone to 7.1 and close as FIXED after the patch is committed.
Chris> + /* Check to see if any kind of cast is necessary; if not, punt. Chris> + (Specifically not using strcmp_iw() because no other comparisons against Chris> + TYPE_NAME() use it. They all use standard strcmp() instead.) */
Delete this comment.
Chris> /* This test script is part of GDB, the GNU debugger.
Chris> Copyright 1993, 1994, 1997, 1998, 1999, 2003, 2004, 2009
Just 2009.
Chris> # Copyright 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, Chris> # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Likewise.
This is ok with those changes. Thanks.
Tom
Attachment:
pr9399.patch
Description: Text document
/* This test script is part of GDB, the GNU debugger. Copyright 2009 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ class interface { virtual int do_print3() { return 111111; } }; class Obj : virtual public interface { public: virtual int do_print() { return 123456; } }; class Obj2 : Obj, virtual public interface { virtual int do_print2() { return 654321; } }; int main(int argc, char** argv) { Obj o; Obj2 o2; return 0; // marker 1 }
Attachment:
virtfunc2.exp
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |