mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 09:34:06 +00:00
winedbg: Constify some character strings.
This commit is contained in:
parent
a478c108e2
commit
5730f6cf98
|
@ -286,8 +286,8 @@ static BOOL tgt_process_active_close_process(struct dbg_process* pcs, BOOL kill)
|
|||
static void fetch_module_name(void* name_addr, BOOL unicode, void* mod_addr,
|
||||
WCHAR* buffer, size_t bufsz, BOOL is_pcs)
|
||||
{
|
||||
static WCHAR pcspid[] = {'P','r','o','c','e','s','s','_','%','0','8','x',0};
|
||||
static WCHAR dlladdr[] = {'D','L','L','_','%','0','8','l','x',0};
|
||||
static const WCHAR pcspid[] = {'P','r','o','c','e','s','s','_','%','0','8','x',0};
|
||||
static const WCHAR dlladdr[] = {'D','L','L','_','%','0','8','l','x',0};
|
||||
|
||||
memory_get_string_indirect(dbg_curr_process, name_addr, unicode, buffer, bufsz);
|
||||
if (!buffer[0] &&
|
||||
|
|
|
@ -199,7 +199,7 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
|
|||
WCHAR exec_name[1024];
|
||||
WCHAR nameW[1024];
|
||||
unsigned len;
|
||||
static WCHAR default_exec_name[] = {'<','m','i','n','i','d','u','m','p','-','e','x','e','c','>',0};
|
||||
static const WCHAR default_exec_name[] = {'<','m','i','n','i','d','u','m','p','-','e','x','e','c','>',0};
|
||||
|
||||
/* fetch PID */
|
||||
if (MiniDumpReadDumpStream(data->mapping, MiscInfoStream, NULL, &stream, NULL))
|
||||
|
|
Loading…
Reference in a new issue