public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Anmol P. Paralkar" <anmol@freescale.com>
To: gdb-patches@sourceware.org
Subject: Fix "maint time" command documentation.
Date: Thu, 01 Jul 2010 23:21:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1007011753370.26664@lds03-tx32> (raw)

Hello,

  The documentation for the "maint time" command does not mention the units of time.
  Also, there are a couple of typos in there. I have attempted to fix these in the
  following patch; please let me know if we could word/punctuate this better and
  I'll be happy to re-spin.

  I rebuilt gdb.info and visually inspected the generated gdb.info

Thank you,
Anmol.

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/doc/ChangeLog,v
retrieving revision 1.1083
diff -c -p -r1.1083 ChangeLog
*** ChangeLog	1 Jul 2010 17:40:04 -0000	1.1083
--- ChangeLog	1 Jul 2010 23:12:00 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2010-07-01  Anmol P. Paralkar <anmol@freescale.com>
+ 
+ 	* gdb.texinfo (Maintenance Commands): Mention units of time
+ 	and fix a couple of typos in documentation for command "maint time".
+
   2010-07-01  Pedro Alves  <pedro@codesourcery.com>

   	* gdb.texinfo (Create and Delete Tracepoints): Add more index
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.737
diff -c -p -r1.737 gdb.texinfo
*** gdb.texinfo	1 Jul 2010 17:40:04 -0000	1.737
--- gdb.texinfo	1 Jul 2010 23:12:01 -0000
*************** switch (@pxref{Mode Options}).
*** 30573,30583 ****
   @item maint time
   Control whether to display the execution time for each command.  If
   set to a nonzero value, @value{GDBN} will display how much time it
! took to execute each command, following the command's own output.
! The time is not printed for the commands that run the target, since
   there's no mechanism currently to compute how much time was spend
! by @value{GDBN} and how much time was spend by the program been debugged.
! it's not possibly currently
   This can also be requested by invoking @value{GDBN} with the
   @option{--statistics} command-line switch (@pxref{Mode Options}).

--- 30573,30583 ----
   @item maint time
   Control whether to display the execution time for each command.  If
   set to a nonzero value, @value{GDBN} will display how much time it
! took (in seconds) to execute each command, following the command's own output.
! The time is not printed for the commands that run on the target, since
   there's no mechanism currently to compute how much time was spend
! by @value{GDBN} and how much time was spend by the program been debugged;
! this is not possible currently.
   This can also be requested by invoking @value{GDBN} with the
   @option{--statistics} command-line switch (@pxref{Mode Options}).


             reply	other threads:[~2010-07-01 23:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01 23:21 Anmol P. Paralkar [this message]
2010-07-02 10:09 ` Eli Zaretskii
2010-07-02 17:03   ` Anmol P. Paralkar
2010-07-02 17:39     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.1007011753370.26664@lds03-tx32 \
    --to=anmol@freescale.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).