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
099bb87f
Commit
099bb87f
authored
Apr 17, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Constify some variables.
parent
cecaf91d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
dwarf.c
dlls/dbghelp/dwarf.c
+9
-9
minidump.c
dlls/dbghelp/minidump.c
+2
-2
module.c
dlls/dbghelp/module.c
+1
-1
No files found.
dlls/dbghelp/dwarf.c
View file @
099bb87f
...
...
@@ -342,7 +342,7 @@ static const char* dwarf2_debug_di(const dwarf2_debug_info_t* di)
}
static
dwarf2_abbrev_entry_t
*
dwarf2_abbrev_table_find_entry
(
struct
sparse_array
*
abbrev_table
,
dwarf2_abbrev_table_find_entry
(
const
struct
sparse_array
*
abbrev_table
,
unsigned
long
entry_code
)
{
assert
(
NULL
!=
abbrev_table
);
...
...
@@ -782,7 +782,7 @@ compute_location(dwarf2_traverse_context_t* ctx, struct location* loc,
}
static
BOOL
dwarf2_compute_location_attr
(
dwarf2_parse_context_t
*
ctx
,
dwarf2_debug_info_t
*
di
,
const
dwarf2_debug_info_t
*
di
,
unsigned
long
dw
,
struct
location
*
loc
,
const
struct
location
*
frame
)
...
...
@@ -1095,7 +1095,7 @@ static struct symt* dwarf2_parse_reference_type(dwarf2_parse_context_t* ctx,
}
static
void
dwarf2_parse_udt_member
(
dwarf2_parse_context_t
*
ctx
,
dwarf2_debug_info_t
*
di
,
const
dwarf2_debug_info_t
*
di
,
struct
symt_udt
*
parent
)
{
struct
symt
*
elt_type
;
...
...
@@ -1197,7 +1197,7 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
}
static
void
dwarf2_parse_enumerator
(
dwarf2_parse_context_t
*
ctx
,
dwarf2_debug_info_t
*
di
,
const
dwarf2_debug_info_t
*
di
,
struct
symt_enum
*
parent
)
{
struct
attribute
name
;
...
...
@@ -1372,7 +1372,7 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
}
static
void
dwarf2_parse_subprogram_label
(
dwarf2_subprogram_t
*
subpgm
,
dwarf2_debug_info_t
*
di
)
const
dwarf2_debug_info_t
*
di
)
{
struct
attribute
name
;
struct
attribute
low_pc
;
...
...
@@ -1392,11 +1392,11 @@ static void dwarf2_parse_subprogram_label(dwarf2_subprogram_t* subpgm,
static
void
dwarf2_parse_subprogram_block
(
dwarf2_subprogram_t
*
subpgm
,
struct
symt_block
*
parent_block
,
dwarf2_debug_info_t
*
di
);
const
dwarf2_debug_info_t
*
di
);
static
void
dwarf2_parse_inlined_subroutine
(
dwarf2_subprogram_t
*
subpgm
,
struct
symt_block
*
parent_block
,
dwarf2_debug_info_t
*
di
)
const
dwarf2_debug_info_t
*
di
)
{
struct
symt_block
*
block
;
struct
attribute
low_pc
;
...
...
@@ -1447,7 +1447,7 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm,
static
void
dwarf2_parse_subprogram_block
(
dwarf2_subprogram_t
*
subpgm
,
struct
symt_block
*
parent_block
,
dwarf2_debug_info_t
*
di
)
const
dwarf2_debug_info_t
*
di
)
{
struct
symt_block
*
block
;
struct
attribute
low_pc
;
...
...
@@ -1743,7 +1743,7 @@ static void dwarf2_load_one_entry(dwarf2_parse_context_t* ctx,
}
static
void
dwarf2_set_line_number
(
struct
module
*
module
,
unsigned
long
address
,
struct
vector
*
v
,
unsigned
file
,
unsigned
line
)
const
struct
vector
*
v
,
unsigned
file
,
unsigned
line
)
{
struct
symt_function
*
func
;
struct
symt_ht
*
symt
;
...
...
dlls/dbghelp/minidump.c
View file @
099bb87f
...
...
@@ -112,7 +112,7 @@ static BOOL fetch_process_info(struct dump_context* dc)
return
FALSE
;
}
static
void
fetch_thread_stack
(
struct
dump_context
*
dc
,
void
*
teb_addr
,
static
void
fetch_thread_stack
(
struct
dump_context
*
dc
,
const
void
*
teb_addr
,
const
CONTEXT
*
ctx
,
MINIDUMP_MEMORY_DESCRIPTOR
*
mmd
)
{
NT_TIB
tib
;
...
...
@@ -327,7 +327,7 @@ static void add_memory_block(struct dump_context* dc, ULONG64 base, ULONG size,
*
* Writes a chunk of data at a given position in the minidump
*/
static
void
writeat
(
struct
dump_context
*
dc
,
RVA
rva
,
void
*
data
,
unsigned
size
)
static
void
writeat
(
struct
dump_context
*
dc
,
RVA
rva
,
const
void
*
data
,
unsigned
size
)
{
DWORD
written
;
...
...
dlls/dbghelp/module.c
View file @
099bb87f
...
...
@@ -368,7 +368,7 @@ struct module* module_find_by_addr(const struct process* pcs, unsigned long addr
* checks whether the ELF container, for a (supposed) PE builtin is
* already loaded
*/
static
BOOL
module_is_elf_container_loaded
(
struct
process
*
pcs
,
static
BOOL
module_is_elf_container_loaded
(
const
struct
process
*
pcs
,
const
WCHAR
*
ImageName
,
DWORD
base
)
{
size_t
len
;
...
...
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