Example 41 Report options file
$ cat my_opts
$ cadvise | report | test.pdb +opts my_opts | |
"test.c", | line 1320: remark | ||
int | ifd; | /* | input file descriptor */ |
| ^ |
|
|
"test.c", line 1321: remark
^
"unlzw.c", line 337: | remark | |
REG1 | int | i; |
|
| ^ |
"unzip.c", line 130: remark
^
6.17 Generate report for migration related warnings
You can generate a report of the migration related issues in the application using the
Example 42 Generating a report using -migration option
$ cadvise report -pdb my.pdb -noheader
=============================== SUMMARY REPORT =================================
Unique warnings: 7
Duplicate warnings: 0
Sev. Count | Diagnostic Message | |
5 | 3 | warning |
5 | 1 | warning |
3 | 3 | remark |
$ cadvise report
=============================== SUMMARY REPORT =================================
Unique warnings: 1
Duplicate warnings: 0
Sev. Count Diagnostic Message
51 warning
6.18Generating consolidated report from multiple PDBs
You can generate a consolidated cadvise report from multiple PDBs. Multiple PDBs can be passed
to report in one of the following ways:
• cadvise report
• cadvise report
• cadvise report
The following example demonstrates the usage of this option:
6.17 Generate report for migration related warnings 39