Volshell: Add a convenience display symbols function.

This commit is contained in:
Mike Auty
2019-09-25 01:02:43 +01:00
parent 320f24d23f
commit 628ff6f740
4 changed files with 38 additions and 1 deletions
+6
View File
@@ -56,3 +56,9 @@ class Volshell(generic.Volshell):
if constants.BANG not in object:
object = self.config['vmlinux'] + constants.BANG + object
return super().display_type(object)
def display_symbols(self, symbol_table: str = None):
"""Prints an alphabetical list of symbols for a symbol table"""
if symbol_table is None:
symbol_table = self.config['vmlinux']
return super().display_symbols(symbol_table)