cmd: Don't read past end of thisVar in WCMD_expand_envvar (valgrind).
[wine] / programs / winedbg / intvar.h
1 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
2
3 /* Wine internal debugger
4  * Definitions for internal variables
5  * Copyright 2000 Eric Pouech
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20  */
21
22    /* break handling */
23 INTERNAL_VAR(BreakAllThreadsStartup,    FALSE,          NULL,                   dbg_itype_unsigned_int)
24 INTERNAL_VAR(BreakOnCritSectTimeOut,    FALSE,          NULL,                   dbg_itype_unsigned_int)
25 INTERNAL_VAR(BreakOnAttach,             FALSE,          NULL,                   dbg_itype_unsigned_int)
26 INTERNAL_VAR(BreakOnFirstChance,        FALSE,          NULL,                   dbg_itype_unsigned_int)
27 INTERNAL_VAR(BreakOnDllLoad,            FALSE,          NULL,                   dbg_itype_unsigned_int)
28 INTERNAL_VAR(CanDeferOnBPByAddr,        FALSE,          NULL,                   dbg_itype_unsigned_int)
29
30    /* current process/thread */
31 INTERNAL_VAR(ThreadId,                  FALSE,          &dbg_curr_tid,          dbg_itype_unsigned_int)
32 INTERNAL_VAR(ProcessId,                 FALSE,          &dbg_curr_pid,          dbg_itype_unsigned_int)
33
34    /* symbol manipulation */
35 INTERNAL_VAR(AlwaysShowThunks,          FALSE,          NULL,                   dbg_itype_unsigned_int)
36
37    /* process manipulation */
38 INTERNAL_VAR(AlsoDebugProcChild,        FALSE,          NULL,                   dbg_itype_unsigned_int)
39
40    /* automatic invocation on failure */
41 INTERNAL_VAR(ShowCrashDialog,           TRUE,           NULL,                   dbg_itype_unsigned_int)