mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 23:07:47 +00:00
winedbg: Rename 'info exception' into 'info frame' (which is somehow closer to what it does).
This commit is contained in:
parent
ecd2e603e2
commit
9261ef2d0a
|
@ -287,8 +287,8 @@ info_command:
|
||||||
| tINFO '*' tWND expr_rvalue { info_win32_window((HWND)$4, TRUE); }
|
| tINFO '*' tWND expr_rvalue { info_win32_window((HWND)$4, TRUE); }
|
||||||
| tINFO tPROCESS { info_win32_processes(); }
|
| tINFO tPROCESS { info_win32_processes(); }
|
||||||
| tINFO tTHREAD { info_win32_threads(); }
|
| tINFO tTHREAD { info_win32_threads(); }
|
||||||
| tINFO tEXCEPTION { info_win32_exceptions(dbg_curr_tid); }
|
| tINFO tFRAME { info_win32_frame_exceptions(dbg_curr_tid); }
|
||||||
| tINFO tEXCEPTION expr_rvalue { info_win32_exceptions($3); }
|
| tINFO tFRAME expr_rvalue { info_win32_frame_exceptions($3); }
|
||||||
| tINFO tMAPS { info_win32_virtual(dbg_curr_pid); }
|
| tINFO tMAPS { info_win32_virtual(dbg_curr_pid); }
|
||||||
| tINFO tMAPS expr_rvalue { info_win32_virtual($3); }
|
| tINFO tMAPS expr_rvalue { info_win32_virtual($3); }
|
||||||
;
|
;
|
||||||
|
|
|
@ -166,7 +166,7 @@ STRING \"[^\n"]+\"
|
||||||
<INITIAL,NOPROCESS>info|inf|in { BEGIN(INFO_CMD); return tINFO; }
|
<INITIAL,NOPROCESS>info|inf|in { BEGIN(INFO_CMD); return tINFO; }
|
||||||
<INITIAL>up { BEGIN(NOCMD); return tUP; }
|
<INITIAL>up { BEGIN(NOCMD); return tUP; }
|
||||||
<INITIAL>down|dow|do { BEGIN(NOCMD); return tDOWN; }
|
<INITIAL>down|dow|do { BEGIN(NOCMD); return tDOWN; }
|
||||||
<INITIAL>frame|fram|fra|fr { BEGIN(NOCMD); return tFRAME; }
|
<INITIAL,INFO_CMD>frame|fram|fra|fr { BEGIN(NOCMD); return tFRAME; }
|
||||||
<INITIAL>list|lis|li|l { BEGIN(PATH_ACCEPTED); return tLIST; }
|
<INITIAL>list|lis|li|l { BEGIN(PATH_ACCEPTED); return tLIST; }
|
||||||
<INITIAL>enable|enabl|enab|ena { BEGIN(BD_CMD); return tENABLE;}
|
<INITIAL>enable|enabl|enab|ena { BEGIN(BD_CMD); return tENABLE;}
|
||||||
<INITIAL>disable|disabl|disab|disa|dis { BEGIN(BD_CMD); return tDISABLE; }
|
<INITIAL>disable|disabl|disab|disa|dis { BEGIN(BD_CMD); return tDISABLE; }
|
||||||
|
|
|
@ -351,7 +351,7 @@ extern void info_win32_class(HWND hWnd, const char* clsName);
|
||||||
extern void info_win32_window(HWND hWnd, BOOL detailed);
|
extern void info_win32_window(HWND hWnd, BOOL detailed);
|
||||||
extern void info_win32_processes(void);
|
extern void info_win32_processes(void);
|
||||||
extern void info_win32_threads(void);
|
extern void info_win32_threads(void);
|
||||||
extern void info_win32_exceptions(DWORD tid);
|
extern void info_win32_frame_exceptions(DWORD tid);
|
||||||
extern void info_win32_virtual(DWORD pid);
|
extern void info_win32_virtual(DWORD pid);
|
||||||
extern void info_win32_segments(DWORD start, int length);
|
extern void info_win32_segments(DWORD start, int length);
|
||||||
extern void info_wine_dbg_channel(BOOL add, const char* chnl, const char* name);
|
extern void info_wine_dbg_channel(BOOL add, const char* chnl, const char* name);
|
||||||
|
|
|
@ -543,11 +543,11 @@ void info_win32_threads(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* info_win32_exceptions
|
* info_win32_frame_exceptions
|
||||||
*
|
*
|
||||||
* Get info on the exception frames of a given thread.
|
* Get info on the exception frames of a given thread.
|
||||||
*/
|
*/
|
||||||
void info_win32_exceptions(DWORD tid)
|
void info_win32_frame_exceptions(DWORD tid)
|
||||||
{
|
{
|
||||||
struct dbg_thread* thread;
|
struct dbg_thread* thread;
|
||||||
void* next_frame;
|
void* next_frame;
|
||||||
|
|
|
@ -366,8 +366,10 @@ Prints information of Window of handle \fBN\fR
|
||||||
Lists all w-processes in Wine session
|
Lists all w-processes in Wine session
|
||||||
.IP \fBinfo\ thread\fR
|
.IP \fBinfo\ thread\fR
|
||||||
Lists all w-threads in Wine session
|
Lists all w-threads in Wine session
|
||||||
.IP \fBinfo\ exception\fR
|
.IP \fBinfo\ frame\fR
|
||||||
Lists the exception frames (starting from current stack frame)
|
Lists the exception frames (starting from current stack frame). You
|
||||||
|
can also pass, as optional argument, a thread id (instead of current
|
||||||
|
thread) to examine its exception frames.
|
||||||
.PP
|
.PP
|
||||||
Debug messages can be turned on and off as you are debugging using
|
Debug messages can be turned on and off as you are debugging using
|
||||||
the \fBset\fR command, but only for channels initialized with the
|
the \fBset\fR command, but only for channels initialized with the
|
||||||
|
|
Loading…
Reference in a new issue