diff options
author | Nick Clifton <nickc@redhat.com> | 2018-10-01 17:17:54 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-10-01 17:18:20 +0100 |
commit | a0389de085c9caca66ec53bcf7faf830cbf24b89 (patch) | |
tree | 109ff77a3429fffa9fef126dc97d2b2ea4141784 /gprof | |
parent | Fix is_amd64_regs_target check in i386-avx512.exp (diff) | |
download | binutils-gdb-a0389de085c9caca66ec53bcf7faf830cbf24b89.tar.gz binutils-gdb-a0389de085c9caca66ec53bcf7faf830cbf24b89.tar.bz2 binutils-gdb-a0389de085c9caca66ec53bcf7faf830cbf24b89.zip |
Fix typo setting user_specified variable when parsing -Z option.
PR 23698
* gprof.c (main): Fix typo setting user_specified variable when
parsing -Z option.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 6 | ||||
-rw-r--r-- | gprof/gprof.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index ce748f60f02..da083a54af7 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +2018-10-01 Nick Clifton <nickc@redhat.com> + + PR 23698 + * gprof.c (main): Fix typo setting user_specified variable when + parsing -Z option. + 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com> * gprof.texi: Use command-line consistently when used in a compount diff --git a/gprof/gprof.c b/gprof/gprof.c index 43e209096c9..db425a6996d 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -452,7 +452,7 @@ This program is free software. This program has absolutely no warranty.\n")); { output_style &= ~STYLE_EXEC_COUNTS; } - user_specified |= STYLE_ANNOTATED_SOURCE; + user_specified |= STYLE_EXEC_COUNTS; break; case OPTION_DEMANGLE: demangle = TRUE; |