Name
pdbcomment — Scans all (non-system) source files related to a PDB file for C, C++, Fortran comments, C/C++ pragmas, and Fortran directives and prints out a new enhanced PDB file containing this additional information.
Synopsis
pdbcomment
[
-o <outfile>
] [
-c
] [
-p
] [
-d
] [
-v
] [
-D
string
]
Description
Scans all (non-system) source files related to a PDB file for C, C++, Fortran comments, C/C++ pragmas, and Fortran directives and prints out a new enhanced PDB file containing this additional information.
Options
-o <outfile>
Write output to file <outfile>
-c
Only scan for comments (ignore pragmas)
-p
Only scan for pragmas (ignore comments)
-d
Fortran only: Consider lines with a 'D'
in the first column also as comments.
-v
Verbose mode
-D string
Fortran only: Scan also for directives
which are marked with the sentinel 'string'.
This option can be specified several times,
once for each directive sentinel to scan for.
Case does NOT matter when specifiying 'string'.
pdbcomment recognizes OpenMP (sentinel $omp)
by default.