aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-10-01 17:17:54 +0100
committerNick Clifton <nickc@redhat.com>2018-10-01 17:18:20 +0100
commita0389de085c9caca66ec53bcf7faf830cbf24b89 (patch)
tree109ff77a3429fffa9fef126dc97d2b2ea4141784 /gprof/gprof.c
parentff34e6ae3867a5686b53ce3b69584c1c3b553d7d (diff)
downloadgdb-a0389de085c9caca66ec53bcf7faf830cbf24b89.zip
gdb-a0389de085c9caca66ec53bcf7faf830cbf24b89.tar.gz
gdb-a0389de085c9caca66ec53bcf7faf830cbf24b89.tar.bz2
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/gprof.c')
-rw-r--r--gprof/gprof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index 43e2090..db425a6 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;