1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH GP-DISPLAY-SRC "1" "January 2023" "GNU gp-display-src binutils version 2.40.00" "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 2023 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.
|