[ros-bugs] [Bug 4342] log2lines: Enhanced raddr2line replacement

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Wed Nov 25 17:46:07 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4342





--- Comment #23 from jansssens <jroeloffzen at hotmail.com>  2009-11-25 17:46:07 CET ---
Created an attachment (id=4427)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=4427)
version 1.2

version 1.2

Found some logging containing quite some entries with (addr) - (addr-1)
mismatches, which tends to clobber the log output. Therefore the -t change.

- -t now shows only the extra linenumber between [..] (after the original 
  linenumber) if that is the only difference.

- You can now directly specify e.g. "-d bootcd-38701-dbg.7z". This currently 
  only works however when the basename is identical to the decompressed .iso
  basename, which is normally true for trunk build files.

Options changed:

  -d <directory>|<ISO image>
       Directory to scan for images. (Do not append a '\')
       This option also takes an ISO image as argument:
       - The image is recognized by the '.iso' or '.7z' extension.
       - NOTE: The '.7z' and extracted '.iso' basenames must be identical,
         which is normally true for Reactos trunk builds.
       - The image will be unpacked to a directory with the same name.
       - The embedded reactos.cab file will also be unpacked.
       - Combined with -f the file will be re-unpacked.
       - NOTE: this ISO unpack feature needs 7z to be in the PATH.
       Default: output-i386

  -t   Translate twice. The address itself and for (address - 1)
       Show extra filename and linenumber between [..] if they differ
       If only the linenumbers differ then only show the extra linenumber.

Examples:
  Re-translate a debug log:
       log2lines -U -d bootcd-38701-dbg.iso < bugxxxx.log

  Re-translate a debug log. Specify a 7z file, which wil be decompressed.
  Also check for (address) - (address - 1) differences.
  This would generate loglines like
  '<ntdll.dll:60f1 (dll/ntdll/ldr/utils.c:337[331] (LdrPEStartup))>' :
       log2lines -U -t -d bootcd-38701-dbg.7z < bugxxxx.log


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Ros-bugs mailing list