aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2006-10-18 17:42:43 +0000
committerBob Wilson <bob.wilson@acm.org>2006-10-18 17:42:43 +0000
commit4ce7dc156114d9acd1243857ea79e4b24ac6af32 (patch)
tree09e46e52d2ab474795d973d6fd716ed405ccbdfa /gprof
parent8621d6a94413b84d5d3353b717607194d7584943 (diff)
downloadgdb-4ce7dc156114d9acd1243857ea79e4b24ac6af32.zip
gdb-4ce7dc156114d9acd1243857ea79e4b24ac6af32.tar.gz
gdb-4ce7dc156114d9acd1243857ea79e4b24ac6af32.tar.bz2
* gprof.c (main): Fix option string for -r and -R.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/gprof.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 2415de0..1b4fe51 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-17 Bob Wilson <bob.wilson@acm.org>
+
+ * gprof.c (main): Fix option string for -r and -R.
+
2006-10-16 Bob Wilson <bob.wilson@acm.org>
* gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
diff --git a/gprof/gprof.c b/gprof/gprof.c
index 92468ad..14f7c16 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -200,7 +200,7 @@ main (int argc, char **argv)
expandargv (&argc, &argv);
while ((ch = getopt_long (argc, argv,
- "aA::bBcC::d::De:E:f:F:hiI:J::k:lLm:n:N:O:p::P::q::Q::st:Tvw:xyzZ::",
+ "aA::bBcC::d::De:E:f:F:hiI:J::k:lLm:n:N:O:p::P::q::Q::rR:st:Tvw:xyzZ::",
long_options, 0))
!= EOF)
{