64 lines
2.0 KiB
Groff
64 lines
2.0 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
|
|
.TH GP-DISPLAY-SRC "1" "October 2022" "GNU gp-display-src binutils version 2.39.50" "User Commands"
|
|
.SH NAME
|
|
gp-display-src \- display the source code, optionally interleaved with the disassembly of the target object
|
|
.SH SYNOPSIS
|
|
.B gprofng
|
|
\fI\,display src \/\fR[\fI\,OPTION(S)\/\fR] \fI\,TARGET-OBJECT\/\fR
|
|
.SH DESCRIPTION
|
|
Display the source code listing, or source code interleaved with disassembly code,
|
|
as extracted from the target object (an executable, shared object, object file, or
|
|
a Java .class file).
|
|
.SH OPTIONS
|
|
.TP
|
|
.B
|
|
\fB\-\-version\fR
|
|
print the version number and exit.
|
|
.TP
|
|
.B
|
|
\fB\-\-help\fR
|
|
print usage information and exit.
|
|
.TP
|
|
.B
|
|
\fB\-\-verbose\fR {on|off}
|
|
enable (on) or disable (off) verbose mode; the default is "off".
|
|
.TP
|
|
.B
|
|
\fB\-func\fR
|
|
list all the functions from the given object.
|
|
.TP
|
|
.B
|
|
\fB\-source\fR item tag
|
|
show the source code for item; the tag is used to
|
|
differentiate in case of multiple occurences with
|
|
the same name; the combination of "all \fB\-1\fR" selects
|
|
all the functions in the object; the default is
|
|
"\-source all \fB\-1\fR".
|
|
.TP
|
|
.B
|
|
\fB\-disasm\fR item tag
|
|
show the source code, interleaved with the disassembled
|
|
instructions; the same definitions for item and tag apply.
|
|
.TP
|
|
.B
|
|
\fB\-outfile\fR <filename>
|
|
write results to file <filename>; a dash (\-) writes to
|
|
stdout; this is also the default; note that this only
|
|
affects options included to the right of this option.
|
|
.PP
|
|
.SH DOCUMENTATION
|
|
.PP
|
|
A getting started guide for gprofng is maintained as a Texinfo manual. If the info and
|
|
gprofng programs are properly installed at your site, the command "info gprofng"
|
|
should give you access to this document.
|
|
.PP
|
|
.SH SEE ALSO
|
|
.PP
|
|
gprofng(1), gp\-archive(1), gp\-collect\-app(1), gp\-display\-html(1), gp\-display\-text(1)
|
|
.SH COPYRIGHT
|
|
Copyright \(co 2021 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
|
|
.br
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|