winedbg: Rename 'info exception' into 'info frame' (which is somehow closer to what it does).

This commit is contained in:
Eric Pouech 2010-11-21 22:19:34 +01:00 committed by Alexandre Julliard
parent ecd2e603e2
commit 9261ef2d0a
5 changed files with 10 additions and 8 deletions

View File

@ -287,8 +287,8 @@ info_command:
| tINFO '*' tWND expr_rvalue { info_win32_window((HWND)$4, TRUE); }
| tINFO tPROCESS { info_win32_processes(); }
| tINFO tTHREAD { info_win32_threads(); }
| tINFO tEXCEPTION { info_win32_exceptions(dbg_curr_tid); }
| tINFO tEXCEPTION expr_rvalue { info_win32_exceptions($3); }
| tINFO tFRAME { info_win32_frame_exceptions(dbg_curr_tid); }
| tINFO tFRAME expr_rvalue { info_win32_frame_exceptions($3); }
| tINFO tMAPS { info_win32_virtual(dbg_curr_pid); }
| tINFO tMAPS expr_rvalue { info_win32_virtual($3); }
;

View File

@ -166,7 +166,7 @@ STRING \"[^\n"]+\"
<INITIAL,NOPROCESS>info|inf|in { BEGIN(INFO_CMD); return tINFO; }
<INITIAL>up { BEGIN(NOCMD); return tUP; }
<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>enable|enabl|enab|ena { BEGIN(BD_CMD); return tENABLE;}
<INITIAL>disable|disabl|disab|disa|dis { BEGIN(BD_CMD); return tDISABLE; }

View File

@ -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_processes(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_segments(DWORD start, int length);
extern void info_wine_dbg_channel(BOOL add, const char* chnl, const char* name);

View File

@ -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.
*/
void info_win32_exceptions(DWORD tid)
void info_win32_frame_exceptions(DWORD tid)
{
struct dbg_thread* thread;
void* next_frame;

View File

@ -366,8 +366,10 @@ Prints information of Window of handle \fBN\fR
Lists all w-processes in Wine session
.IP \fBinfo\ thread\fR
Lists all w-threads in Wine session
.IP \fBinfo\ exception\fR
Lists the exception frames (starting from current stack frame)
.IP \fBinfo\ frame\fR
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
Debug messages can be turned on and off as you are debugging using
the \fBset\fR command, but only for channels initialized with the