查询函数符号是否存在
Query function symbol for existence
我可以使用sYmbol.Browse.Function
浏览加载到内部TRACE32符号数据库的函数符号;引用 General Reference [S]:
sYmbol.Browse.Function
Lets you browse through the list of functions that have been loaded to
the internal TRACE32 symbol database with Data.LOAD
.
我正在编写一个读取用户输入(功能符号名称)的实用程序,如果输入无效的功能符号,它会有助于阻止用户继续前进。我目前正在使用 Trace.Find ADDress <name_of_function>
然后查询 FOUND()
.
问题:
- 查询特定函数符号名称是否存在的惯用方法是什么?
使用sYmbol.EXIST(<symbol>)
。引用 General Reference [S]:
sYmbol.EXIST(<symbol>)
Boolean function. Returns true
when the symbol exists.
IF sYmbol.EXIST(main)
GO.direct main
我可以使用sYmbol.Browse.Function
浏览加载到内部TRACE32符号数据库的函数符号;引用 General Reference [S]:
sYmbol.Browse.Function
Lets you browse through the list of functions that have been loaded to the internal TRACE32 symbol database with
Data.LOAD
.
我正在编写一个读取用户输入(功能符号名称)的实用程序,如果输入无效的功能符号,它会有助于阻止用户继续前进。我目前正在使用 Trace.Find ADDress <name_of_function>
然后查询 FOUND()
.
问题:
- 查询特定函数符号名称是否存在的惯用方法是什么?
使用sYmbol.EXIST(<symbol>)
。引用 General Reference [S]:
sYmbol.EXIST(<symbol>)
Boolean function. Returns
true
when the symbol exists.IF sYmbol.EXIST(main) GO.direct main