Don't ask for source file in auto mode.
This commit is contained in:
parent
449bb92bc0
commit
a3edecaa6f
|
@ -530,6 +530,7 @@ extern void DEBUG_Run(const char* args);
|
|||
extern DBG_PROCESS* DEBUG_GetProcess(DWORD pid);
|
||||
extern DBG_THREAD* DEBUG_GetThread(DBG_PROCESS* p, DWORD tid);
|
||||
extern int curr_frame;
|
||||
extern int automatic_mode;
|
||||
|
||||
/* Choose your allocator! */
|
||||
#if 1
|
||||
|
|
|
@ -195,6 +195,8 @@ DEBUG_DisplaySource(char * sourcefile, int start, int end)
|
|||
}
|
||||
|
||||
if( sl == NULL )
|
||||
{
|
||||
if (!automatic_mode)
|
||||
{
|
||||
char zbuf[256];
|
||||
/*
|
||||
|
@ -218,6 +220,7 @@ DEBUG_DisplaySource(char * sourcefile, int start, int end)
|
|||
strcat(tmppath, basename);
|
||||
|
||||
status = stat(tmppath, &statbuf);
|
||||
}
|
||||
if( status == -1 )
|
||||
{
|
||||
/*
|
||||
|
|
|
@ -42,10 +42,10 @@ CONTEXT DEBUG_context;
|
|||
BOOL DEBUG_interactiveP = FALSE;
|
||||
enum exit_mode DEBUG_ExitMode = EXIT_CONTINUE;
|
||||
int curr_frame = 0;
|
||||
int automatic_mode = 0;
|
||||
static char* DEBUG_LastCmdLine = NULL;
|
||||
|
||||
static DBG_PROCESS* DEBUG_ProcessList = NULL;
|
||||
static int automatic_mode;
|
||||
DBG_INTVAR DEBUG_IntVars[DBG_IV_LAST];
|
||||
|
||||
void DEBUG_OutputA(int chn, const char* buffer, int len)
|
||||
|
|
Loading…
Reference in New Issue