Commit | Line | Data |
---|---|---|
8c012929 | 1 | @echo off\r |
af51687c AI |
2 | if (%1)==() echo Usage: %0 tracefile\r |
3 | if (%1)==() goto done\r | |
4 | rem Need to fiddle with the dumped image so prep doesn't break it\r | |
5 | obj\i386\preprep ..\src\obj\i386\emacs.exe ..\src\obj\i386\pemacs.exe\r | |
6 | copy ..\src\obj\i386\temacs.map ..\src\obj\i386\pemacs.map\r | |
7 | rem -----------------------------------------------------------------\r | |
1d99979d | 8 | rem Use this version to profile explicit commands only.\r |
72431058 | 9 | prep /om /ft /sf _Fexecute_extended_command ..\src\obj\i386\pemacs\r |
1d99979d | 10 | rem -----------------------------------------------------------------\r |
af51687c | 11 | rem Use this version to ignore startup code\r |
72431058 | 12 | rem prep /om /ft /sf _command_loop_1 ..\src\obj\i386\pemacs\r |
af51687c AI |
13 | rem -----------------------------------------------------------------\r |
14 | rem Use this version to include startup code\r | |
72431058 | 15 | rem prep /om /ft ..\src\obj\i386\pemacs\r |
af51687c | 16 | rem -----------------------------------------------------------------\r |
8c012929 | 17 | if errorlevel 1 goto done\r |
af51687c | 18 | profile ..\src\obj\i386\pemacs %2 %3 %4 %5 %6 %7 %8 %9\r |
8c012929 | 19 | if errorlevel 1 goto done\r |
af51687c | 20 | prep /m ..\src\obj\i386\pemacs\r |
8c012929 | 21 | if errorlevel 1 goto done\r |
af51687c | 22 | plist ..\src\obj\i386\pemacs > %1\r |
8c012929 | 23 | :done\r |
a2fcf029 MB |
24 | \r |
25 | goto skipArchTag\r | |
26 | arch-tag: d1c629de-9172-4d72-ab68-9d45ab9903cc\r | |
27 | :skipArchTag\r |