File compare
Date: 2010-7-22 11:30:56
Left: D:\valgrind-3.5.0\coregrind\m_main.c Right: E:\My version\coregrind\m_main.c

1016 | if (VG_(clo_xml) || VG_(clo_verbosity > 0)) { | = | 1016 | if (VG_(clo_xml) || VG_(clo_verbosity > 0)) {
1017 |  |  | 1017 |
1018 | if (VG_(clo_xml)) |  | 1018 | if (VG_(clo_xml))
1019 | VG_(printf_xml)("<preamble>\n"); |  | 1019 | VG_(printf_xml)("<preamble>\n");
1020 |  |  | 1020 |
1021 | /* Tool details */ |  | 1021 | /* Tool details */
1022 | umsg_or_xml( "%s%s%s%s, %s%s\n", | <> | 1022 | umsg_or_xml( VG_(clo_xml) ? "%s%t%t%t, %t%s\n" : "%s%s%s%s, %s%s\n",
1023 | xpre, | = | 1023 | xpre,
1024 | VG_(details).name, |  | 1024 | VG_(details).name,
1025 | NULL == VG_(details).version ? "" : "-", |  | 1025 | NULL == VG_(details).version ? "" : "-",
1026 | NULL == VG_(details).version |  | 1026 | NULL == VG_(details).version
1027 | ? (Char*)"" : VG_(details).version, |  | 1027 | ? (Char*)"" : VG_(details).version,
1028 | VG_(details).description, |  | 1028 | VG_(details).description,
1032 | umsg_or_xml( | = | 1032 | umsg_or_xml(
1033 | "%sNOTE: This is an Experimental-Class Valgrind Tool%s\n", |  | 1033 | "%sNOTE: This is an Experimental-Class Valgrind Tool%s\n",
1034 | xpre, xpost |  | 1034 | xpre, xpost
1035 | ); |  | 1035 | );
1036 | } |  | 1036 | }
1037 |  |  | 1037 |
|  | <> | 1038 | umsg_or_xml( VG_(clo_xml) ? "%s%t%s\n" : "%s%s%s\n",
1038 | umsg_or_xml("%s%s%s\n", xpre, VG_(details).copyright_author, xpost); |  | 1039 | xpre, VG_(details).copyright_author, xpost);
1039 |  | = | 1040 |
1040 | /* Core details */ |  | 1041 | /* Core details */
1041 | umsg_or_xml( |  | 1042 | umsg_or_xml(
1042 | "%sUsing Valgrind-%s and LibVEX; rerun with -h for copyright info%s\n", |  | 1043 | "%sUsing Valgrind-%s and LibVEX; rerun with -h for copyright info%s\n",
1043 | xpre, VERSION, xpost |  | 1044 | xpre, VERSION, xpost
1044 | ); |  | 1045 | );
1050 | umsg_or_xml("%sCommand: ", xpre); | = | 1051 | umsg_or_xml("%sCommand: ", xpre);
1051 | if (VG_(args_the_exename)) |  | 1052 | if (VG_(args_the_exename))
1052 | umsg_or_xml_arg(VG_(args_the_exename), umsg_or_xml); |  | 1053 | umsg_or_xml_arg(VG_(args_the_exename), umsg_or_xml);
1053 | for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) { |  | 1054 | for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
1054 | HChar* s = *(HChar**)VG_(indexXA)( VG_(args_for_client), i ); |  | 1055 | HChar* s = *(HChar**)VG_(indexXA)( VG_(args_for_client), i );
1055 | umsg_or_xml(" "); |  | 1056 | umsg_or_xml(" ");
|  | <> | 1057 | VG_(clo_xml) ? VG_(printf_xml)("%t", s)
1056 | umsg_or_xml_arg(s, umsg_or_xml); |  | 1058 | : umsg_or_xml_arg(s, umsg_or_xml);
1057 | } | = | 1059 | }
1058 | umsg_or_xml("%s\n", xpost); |  | 1060 | umsg_or_xml("%s\n", xpost);
1059 |  |  | 1061 |
1060 | if (VG_(clo_xml)) |  | 1062 | if (VG_(clo_xml))
1061 | VG_(printf_xml)("</preamble>\n"); |  | 1063 | VG_(printf_xml)("</preamble>\n");
1062 | } |  | 1064 | }