| OLD | NEW |
| 1 Index: coregrind/m_syswrap/syswrap-generic.c | 1 Index: coregrind/m_syswrap/syswrap-generic.c |
| 2 =================================================================== | 2 =================================================================== |
| 3 --- coregrind/m_syswrap/syswrap-generic.c (revision 10880) | 3 --- coregrind/m_syswrap/syswrap-generic.c (revision 10880) |
| 4 +++ coregrind/m_syswrap/syswrap-generic.c (working copy) | 4 +++ coregrind/m_syswrap/syswrap-generic.c (working copy) |
| 5 @@ -2563,6 +2563,11 @@ | 5 @@ -2563,6 +2563,11 @@ |
| 6 | 6 |
| 7 } else { | 7 } else { |
| 8 path = (Char*)ARG1; | 8 path = (Char*)ARG1; |
| 9 + if (VG_(clo_xml)) { | 9 + if (VG_(clo_xml)) { |
| 10 + VG_(printf_xml)("\n<execv/>\n\n</valgrindoutput>\n\n"); | 10 + VG_(printf_xml)("\n<execv/>\n\n</valgrindoutput>\n\n"); |
| 11 + } else { | 11 + } else { |
| 12 + VG_(umsg)("execv called - the tool will now quit\n"); | 12 + VG_(umsg)("execv called - the tool will now quit\n"); |
| 13 + } | 13 + } |
| 14 } | 14 } |
| 15 | 15 |
| 16 // Set up the child's environment. | 16 // Set up the child's environment. |
| 17 @@ -4103,4 +4108,3 @@ |
| 18 /*--------------------------------------------------------------------*/ |
| 19 /*--- end ---*/ |
| 20 /*--------------------------------------------------------------------*/ |
| 21 - |
| 17 Index: coregrind/pub_core_libcfile.h | 22 Index: coregrind/pub_core_libcfile.h |
| 18 =================================================================== | 23 =================================================================== |
| 19 --- coregrind/pub_core_libcfile.h (revision 10880) | 24 --- coregrind/pub_core_libcfile.h (revision 10880) |
| 20 +++ coregrind/pub_core_libcfile.h (working copy) | 25 +++ coregrind/pub_core_libcfile.h (working copy) |
| 21 @@ -41,6 +41,7 @@ | 26 @@ -41,6 +41,7 @@ |
| 22 | 27 |
| 23 /* Move an fd into the Valgrind-safe range */ | 28 /* Move an fd into the Valgrind-safe range */ |
| 24 extern Int VG_(safe_fd) ( Int oldfd ); | 29 extern Int VG_(safe_fd) ( Int oldfd ); |
| 25 +extern Int reopen_output_fd(Bool xml); | 30 +extern Int reopen_output_fd(Bool xml); |
| 26 extern Int VG_(fcntl) ( Int fd, Int cmd, Addr arg ); | 31 extern Int VG_(fcntl) ( Int fd, Int cmd, Addr arg ); |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 @@ -74,6 +74,9 @@ | 377 @@ -74,6 +74,9 @@ |
| 373 extern Char* VG_(clo_log_fname_expanded); | 378 extern Char* VG_(clo_log_fname_expanded); |
| 374 extern Char* VG_(clo_xml_fname_expanded); | 379 extern Char* VG_(clo_xml_fname_expanded); |
| 375 | 380 |
| 376 +extern Char* VG_(clo_log_fname_unexpanded); | 381 +extern Char* VG_(clo_log_fname_unexpanded); |
| 377 +extern Char* VG_(clo_xml_fname_unexpanded); | 382 +extern Char* VG_(clo_xml_fname_unexpanded); |
| 378 + | 383 + |
| 379 /* Add timestamps to log messages? default: NO */ | 384 /* Add timestamps to log messages? default: NO */ |
| 380 extern Bool VG_(clo_time_stamp); | 385 extern Bool VG_(clo_time_stamp); |
| 381 | 386 |
| OLD | NEW |