* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
#pragma ident "@(#)README.debug_log 1.2 06/10/25 SMI"
## Debug Logging (debug_log)
## This explains how to enable and use the lockstep feature
[-] Enabling this Features:
See README.debug_hook for the overview of the debug_hook feature.
This feature allows you to gather a circular buffer of the last N
Instructions executed by the simulator.
The current debug_log contents can be printed at any time by either
typing ~l on the legion console or by calling debug_log_print
from within a debugger (dbx, gdb).
* [debug_log] - we've already parsed this. That's how we got here.
* For the moment, there are no more options. We are planning
* on adding the ability to set the log_size and also to set
* the %pc, instn_cnt for when to turn on logging.
The current debug_log contents can be printed at any time by either
typing ~l on the legion console or by calling debug_log_print
from within a debugger (dbx, gdb).
The source for the coverage feature is contained in
src/procs/sunsparc/debug/debug_log.c