GNU Binutils with patches for OS216
Revisão | efa9760914311fdd9b9a299f1e6cd5a85d64c5ff (tree) |
---|---|
Hora | 2019-05-21 01:17:24 |
Autor | Nick Clifton <nickc@redh...> |
Commiter | Nick Clifton |
Correct the alpha sorting of the short options in the usage description of the gprof program.
PR 24569
* gprof.c (usage): Restore alphabetical sorting to short options
list. Add -r, -R and -t short options to the list.
(main): Add comment about -g and -G possibly being deprecated.
* gprof.texi: Update usage example in line with changes above.
@@ -1,5 +1,13 @@ | ||
1 | 1 | 2019-05-20 Nick Clifton <nickc@redhat.com> |
2 | 2 | |
3 | + PR 24569 | |
4 | + * gprof.c (usage): Restore alphabetical sorting to short options | |
5 | + list. Add -r, -R and -t short options to the list. | |
6 | + (main): Add comment about -g and -G possibly being deprecated. | |
7 | + * gprof.texi: Update usage example in line with changes above. | |
8 | + | |
9 | +2019-05-20 Nick Clifton <nickc@redhat.com> | |
10 | + | |
3 | 11 | * po/de.po: Updated German translation. |
4 | 12 | |
5 | 13 | 2019-05-08 Alan Modra <amodra@gmail.com> |
@@ -160,7 +160,7 @@ static void | ||
160 | 160 | usage (FILE *stream, int status) |
161 | 161 | { |
162 | 162 | fprintf (stream, _("\ |
163 | -Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqSQZ][name]] [-I dirs]\n\ | |
163 | +Usage: %s [-[abcDhilLrsTvwxyz]] [-[ACeEfFJnNOpPqQRStZ][name]] [-I dirs]\n\ | |
164 | 164 | [-d[num]] [-k from/to] [-m min-count] [-t table-length]\n\ |
165 | 165 | [--[no-]annotated-source[=name]] [--[no-]exec-counts[=name]]\n\ |
166 | 166 | [--[no-]flat-profile[=name]] [--[no-]graph[=name]]\n\ |
@@ -269,6 +269,10 @@ main (int argc, char **argv) | ||
269 | 269 | case 'f': |
270 | 270 | sym_id_add (optarg, INCL_GRAPH); |
271 | 271 | break; |
272 | + /* FIXME: The -g and -G options are not present in the getopt_long | |
273 | + invocation above, and they are not documented in gprof.texi. | |
274 | + Therefore they appear to be deprecated. Test this theory and | |
275 | + delete them if true. */ | |
272 | 276 | case 'g': |
273 | 277 | sym_id_add (optarg, EXCL_FLAT); |
274 | 278 | break; |
@@ -110,7 +110,7 @@ in the section entitled ``GNU Free Documentation License''. | ||
110 | 110 | |
111 | 111 | @smallexample |
112 | 112 | @c man begin SYNOPSIS |
113 | -gprof [ -[abcDhilLrsTvwxyz] ] [ -[ACeEfFJnNOpPqQZ][@var{name}] ] | |
113 | +gprof [ -[abcDhilLrsTvwxyz] ] [ -[ACeEfFJnNOpPqQRStZ][@var{name}] ] | |
114 | 114 | [ -I @var{dirs} ] [ -d[@var{num}] ] [ -k @var{from/to} ] |
115 | 115 | [ -m @var{min-count} ] [ -R @var{map_file} ] [ -t @var{table-length} ] |
116 | 116 | [ --[no-]annotated-source[=@var{name}] ] |