New syntax for mt print symbols,msymbols,psymbols.
authorDoug Evans <xdje42@gmail.com>
Mon, 19 Dec 2016 16:33:46 +0000 (08:33 -0800)
committerDoug Evans <xdje42@gmail.com>
Thu, 22 Dec 2016 23:37:22 +0000 (15:37 -0800)
commit34c41c681f4a0a0dfe0405c7d2aecf458520557a
tree7bcac83e1692f2a41ee53483350ffc59eaafd907
parent112e8700a6fd2fed65ca70132c9cbed4132e8bd4
New syntax for mt print symbols,msymbols,psymbols.

gdb/ChangeLog:

* 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.

gdb/doc/ChangeLog:

* gdb.texinfo (Symbols): Update docs for symbol printing maintenance
commands.

gdb/testsuite/ChangeLog:

* gdb.base/maint.exp: Update tests for maint print symbols, psymbols
and msymbols.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/psymtab.c
gdb/symmisc.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/maint.exp