Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5730f6cf
Commit
5730f6cf
authored
Dec 19, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Constify some character strings.
parent
a478c108
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tgt_active.c
programs/winedbg/tgt_active.c
+2
-2
tgt_minidump.c
programs/winedbg/tgt_minidump.c
+1
-1
No files found.
programs/winedbg/tgt_active.c
View file @
5730f6cf
...
@@ -286,8 +286,8 @@ static BOOL tgt_process_active_close_process(struct dbg_process* pcs, BOOL kill)
...
@@ -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
,
static
void
fetch_module_name
(
void
*
name_addr
,
BOOL
unicode
,
void
*
mod_addr
,
WCHAR
*
buffer
,
size_t
bufsz
,
BOOL
is_pcs
)
WCHAR
*
buffer
,
size_t
bufsz
,
BOOL
is_pcs
)
{
{
static
WCHAR
pcspid
[]
=
{
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'_'
,
'%'
,
'0'
,
'8'
,
'x'
,
0
};
static
const
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
dlladdr
[]
=
{
'D'
,
'L'
,
'L'
,
'_'
,
'%'
,
'0'
,
'8'
,
'l'
,
'x'
,
0
};
memory_get_string_indirect
(
dbg_curr_process
,
name_addr
,
unicode
,
buffer
,
bufsz
);
memory_get_string_indirect
(
dbg_curr_process
,
name_addr
,
unicode
,
buffer
,
bufsz
);
if
(
!
buffer
[
0
]
&&
if
(
!
buffer
[
0
]
&&
...
...
programs/winedbg/tgt_minidump.c
View file @
5730f6cf
...
@@ -199,7 +199,7 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
...
@@ -199,7 +199,7 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
WCHAR
exec_name
[
1024
];
WCHAR
exec_name
[
1024
];
WCHAR
nameW
[
1024
];
WCHAR
nameW
[
1024
];
unsigned
len
;
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 */
/* fetch PID */
if
(
MiniDumpReadDumpStream
(
data
->
mapping
,
MiscInfoStream
,
NULL
,
&
stream
,
NULL
))
if
(
MiniDumpReadDumpStream
(
data
->
mapping
,
MiscInfoStream
,
NULL
,
&
stream
,
NULL
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment