This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: gdb.c++ testsuite 1: member data


On Tue, May 14, 2002 at 12:13:58PM -0700, Benjamin Kosnik wrote:
> These four files test for data member display in gdb. The first,
> member_data.cc, tests (bool, int, long, enum) data members and then
> tests various combinations of templates, non-POD object, etc. The data
> members tested are not random, and are synthesized to represent common
> constructs in the C++ standard library.
> 
> The second does the same, but the data members are static. 
> 
> As it stands, member_data.cc passes on linux when compiled shared, fails
> when static. The second file, members_data_static.cc, fails always. (And
> has for years, three at least.)
> 
> Please let me know what you think, and feel free to check them in. I'd
> really like it if one day these files both passed, for static and shared
> linkage. 
> 
> Files as attached. I don't have write access to the 'src' module. (And
> it's not especially imperative that I have it.)
> 
> tested x86/linux
> 
> 2002-05-14   Benjamin Kosnik  <bkoz@redhat.com>
> 
> 	* gdb.c++/member_data.cc: New file.
> 	* gdb.c++/member_data.exp: New file.
> 	* gdb.c++/member_data_static.cc: New file.
> 	* gdb.c++/member_data_static.exp: New file.


Ben, thanks a lot for submitting these!  We can always use more C++
tests, and I'm at work on the ones we have too much already to add
more.  I don't suppose the "1" in the subject means you've got more
coming?




-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]