Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Doug Evans <xdje42@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Improve maint print symbols,psymbols,msymbols
Date: Wed, 20 Apr 2016 17:45:00 -0000	[thread overview]
Message-ID: <83inzc6upa.fsf@gnu.org> (raw)
In-Reply-To: <m3d1pkrxwa.fsf@sspiff.org> (message from Doug Evans on Wed, 20	Apr 2016 10:30:13 -0700)

> From: Doug Evans <xdje42@gmail.com>
> Date: Wed, 20 Apr 2016 10:30:13 -0700
> 
> 2016-04-20  Doug Evans  <xdje42@gmail.com>
> 
> 	* NEWS: Document new syntax for "mt print symbols", "mt print psymbols"
> 	and "mt print msymbols" commands.
> 	* psymtab.c (DEV_TTY): Delete.
> 	(dump_psymtab_addrmap): Don't dump if psymtabs_addrmap is NULL.
> 	(maintenance_print_psymbols): Rewrite for new syntax:
> 	mt print psymbols [-objfile objfile] [-pc address] [outfile]
> 	mt print psymbols [-objfile objfile] [-source source] [outfile]
> 	(_initialize_psymtab): Update help text.
> 	* symmisc.c (maintenance_print_symbols): Rewrite for new syntax:
> 	mt print symbols [-pc address] [outfile]
> 	mt print symbols [-objfile objfile] [-source source] [outfile]
> 	(maintenance_print_msymbols): Rewrite for new syntax:
> 	mt print msymbols [-objfile objfile] [outfile]
> 	Only print symbols for the current progspace.
> 	(_initialize_symmisc): Update help text.
> 
> 	doc/
> 	* gdb.texinfo (Symbols): Update docs for symbol printing maintenance
> 	commands.
> 
> 	testsuite/
> 	* gdb.base/maint.exp: Update tests for maint print symbols, psymbols
> 	and msymbols.

OK for the documentation parts, except this nit:

> +If @code{-objfile @var{OBJFILE}} is specified, only dump symbols for
> +that objfile.
> +If @code{-pc @var{address}} is specified, only dump symbols for the file
> +with code at that address.  Note that @var{address} may be a symbol like
> +@code{main}.
> +If @code{-source @var{SOURCE}} is specified, only dump symbols for that
> +source file.

The arguments of @var shouldn't be in CAPS.

Thanks.


  parent reply	other threads:[~2016-04-20 17:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 17:30 Doug Evans
2016-04-20 17:33 ` Doug Evans
2016-04-20 17:45 ` Eli Zaretskii [this message]
2016-04-22 13:31 ` Pedro Alves
2016-12-19 18:04   ` Doug Evans
2016-12-20 12:52     ` Pedro Alves
2016-12-22 23:53       ` Doug Evans

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=83inzc6upa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=xdje42@gmail.com \
    /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