This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix gprof's option parsing


On Mon, Oct 16, 2006 at 03:45:45PM -0700, Bob Wilson wrote:
> gprof's -C option takes an optional argument, but the getopt option string 
> shows that it has no argument.
> 
> The -n and -N options both have required arguments, but the getopt option 
> string shows that they have optional arguments.  (Try running "gprof -n"!)
> 
> This patch fixes both.  To test this, I did a i686-pc-linux-gnu build and 
> manually ran gprof with several variations on these options.
> 
> OK?

OK.  Could you fix the manual, too?  I believe it says that the
arguments to -n and -N are optional.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]