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] |
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.
Attachment:
member_data.cc
Description: Binary data
Attachment:
member_data.exp
Description: Binary data
Attachment:
member_data_static.cc
Description: Binary data
Attachment:
member_data_static.exp
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |