AR# 56688

14.6 - SDK/XMD - Can a memory dump from SDK/XMD be exported to a text file?

描述

Can a memory dump from SDK/XMD be exported to a text file?

解决方案

With the GDB, the dump command can be used to copy data from a target to a file:

Click here for information on these commands.

With XMD, users can direct the output of a command to a file as shown below:

XMD% set fp [open test.log w]
XMD% puts $fp [mrd 0 10]
XMD% close $fp

This example will redirect the output of mrd 0 10 to test.log.

AR# 56688
日期 07/05/2013
状态 Active
Type 综合文章
器件 More Less
Tools