34c41c6 New syntax for mt print symbols,msymbols,psymbols.

Authored and Committed by Doug Evans 7 years ago
    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.
    
        
file modified
+18 -0
file modified
+7 -0
file modified
+5 -0
file modified
+26 -15
file modified
+143 -43
file modified
+149 -70
file modified
+5 -0