This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/dwarf-2] Fix for the null record problem
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: brobecker at gnat dot com, ezannoni at redhat dot com,gdb-patches at sources dot redhat dot com
- Date: Thu, 26 Feb 2004 14:49:53 -0500 (EST)
- Subject: Re: [RFA/dwarf-2] Fix for the null record problem
I like the idea, but there are two gotchas:
. update the copyright year in class2.exp
. quote the '{' and '}' chars in class2.exp:
"= \{<No data fields>\}"
With these two changes, and if you re-test, then I approve the patch.
Michael C
===
2004-02-26 J. Brobecker <brobecker@gnat.com>
* gdb.cp/class2.cc (empty): New class.
(refer): New function.
(main): Declare an object of type empty and use it.
* gdb.cp/class2.exp: Print the value of an object of type empty.