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 - | |
22 Index: coregrind/pub_core_libcfile.h | 17 Index: coregrind/pub_core_libcfile.h |
23 =================================================================== | 18 =================================================================== |
24 --- coregrind/pub_core_libcfile.h (revision 10880) | 19 --- coregrind/pub_core_libcfile.h (revision 10880) |
25 +++ coregrind/pub_core_libcfile.h (working copy) | 20 +++ coregrind/pub_core_libcfile.h (working copy) |
26 @@ -41,6 +41,7 @@ | 21 @@ -41,6 +41,7 @@ |
27 | 22 |
28 /* Move an fd into the Valgrind-safe range */ | 23 /* Move an fd into the Valgrind-safe range */ |
29 extern Int VG_(safe_fd) ( Int oldfd ); | 24 extern Int VG_(safe_fd) ( Int oldfd ); |
30 +extern Int reopen_output_fd(Bool xml); | 25 +extern Int reopen_output_fd(Bool xml); |
31 extern Int VG_(fcntl) ( Int fd, Int cmd, Addr arg ); | 26 extern Int VG_(fcntl) ( Int fd, Int cmd, Addr arg ); |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 @@ -74,6 +74,9 @@ | 372 @@ -74,6 +74,9 @@ |
378 extern Char* VG_(clo_log_fname_expanded); | 373 extern Char* VG_(clo_log_fname_expanded); |
379 extern Char* VG_(clo_xml_fname_expanded); | 374 extern Char* VG_(clo_xml_fname_expanded); |
380 | 375 |
381 +extern Char* VG_(clo_log_fname_unexpanded); | 376 +extern Char* VG_(clo_log_fname_unexpanded); |
382 +extern Char* VG_(clo_xml_fname_unexpanded); | 377 +extern Char* VG_(clo_xml_fname_unexpanded); |
383 + | 378 + |
384 /* Add timestamps to log messages? default: NO */ | 379 /* Add timestamps to log messages? default: NO */ |
385 extern Bool VG_(clo_time_stamp); | 380 extern Bool VG_(clo_time_stamp); |
386 | 381 |
OLD | NEW |