mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- provide a sample configuration file
- allow other address line resolver than addr2line svn path=/trunk/; revision=24590
This commit is contained in:
parent
95126f2a4a
commit
4d2dee8fd5
2 changed files with 63 additions and 1 deletions
62
reactos/tools/sysreg/sample.cfg
Normal file
62
reactos/tools/sysreg/sample.cfg
Normal file
|
@ -0,0 +1,62 @@
|
|||
; ROS_OUTPUT
|
||||
;
|
||||
; This variable sets the location where to search symbol files for modules
|
||||
; This is required when tracing usermode exceptions, bsod etc...
|
||||
;
|
||||
; If this value is not defined, sysreg looks for the environment variable
|
||||
; ROS_OUTPUT. If this is also not set, it uses the default output-i386
|
||||
|
||||
ROS_OUTPUT=D:\reactos\output-i386
|
||||
|
||||
; ROS_ADDR2LINE
|
||||
;
|
||||
; This value is used by the symbol resolver to convert an module address into
|
||||
; an source file + line number;
|
||||
;
|
||||
; Note: The symbol resolver appends the modulename and the module address seperated by an space
|
||||
|
||||
ROS_ADDR2LINE=addr2line.exe --exe=
|
||||
|
||||
;-----------------------------------------------------------------------------------------
|
||||
; RosBoot specific settings
|
||||
;
|
||||
|
||||
;
|
||||
; ROSBOOT_CMD
|
||||
;
|
||||
; This value is the command which is executed to gain debugging data
|
||||
; this value is mandatory
|
||||
|
||||
ROSBOOT_CMD=D:\sysreg\qemu\qemu.exe -serial file:debug.log -boot c -m 128 -L D:\sysreg\qemu\ D:\sysreg\qemu\RosVM.vmdk -cdrom D:\Reactos\ReactOS-RegTest.iso
|
||||
|
||||
;
|
||||
; ROSBOOT_DEBUG_PORT
|
||||
;
|
||||
; This variable controls on where to look for debugging data. If the
|
||||
; value is set to file, then sysreg will execute ROSBOOT_CMD and also
|
||||
; open the file specified in ROSBOOT_DEBUG_FILE and read the debugging info from the file
|
||||
;
|
||||
; If the value is set to pipe, then sysreg will read from pipe created by the
|
||||
; ROSBOOT_CMD
|
||||
;
|
||||
;ROSBOOT_DEBUG_PORT=pipe
|
||||
ROSBOOT_DEBUG_PORT=file
|
||||
|
||||
;
|
||||
; ROSBOOT_DEBUG_FILE
|
||||
;
|
||||
; This value specifies the debug file. This variable must be set when using
|
||||
; ROSBOOT_DEBUG_PORT=file
|
||||
|
||||
;ROSBOOT_DEBUG_FILE=D:\ReactOS\tools\sysreg\bsdebug.log
|
||||
ROSBOOT_DEBUG_FILE=D:\ReactOS\tools\sysreg\umdebug.log
|
||||
|
||||
; ROSBOOT_TIME_OUT
|
||||
;
|
||||
; This variable is the maximum runtime of the ROSBOOT_CMD. If the command
|
||||
; runs longer than this value, sysreg exits with success mode;
|
||||
;
|
||||
; If the variable is not set, the default timeout is 1 minute
|
||||
;
|
||||
ROSBOOT_TIME_OUT=180.0
|
||||
|
|
@ -172,7 +172,7 @@ namespace System_
|
|||
|
||||
TCHAR szCmd[300];
|
||||
|
||||
_stprintf(szCmd, _T("%s --exe=%s %s"), m_SymResolver.c_str (), it->second.c_str (), module_address.c_str());
|
||||
_stprintf(szCmd, _T("%s %s %s"), m_SymResolver.c_str (), it->second.c_str (), module_address.c_str());
|
||||
string pipe_cmd(szCmd);
|
||||
|
||||
PipeReader pipe_reader;
|
||||
|
|
Loading…
Reference in a new issue