Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9b8d043c
Commit
9b8d043c
authored
Dec 07, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Renamed extract_longlong() into extract_lgint() for clarity.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e656c29e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
debugger.h
programs/winedbg/debugger.h
+1
-1
memory.c
programs/winedbg/memory.c
+2
-2
types.c
programs/winedbg/types.c
+5
-5
No files found.
programs/winedbg/debugger.h
View file @
9b8d043c
...
...
@@ -465,7 +465,7 @@ extern void print_value(const struct dbg_lvalue* addr, char format,
extern
BOOL
types_print_type
(
const
struct
dbg_type
*
,
BOOL
details
);
extern
BOOL
print_types
(
void
);
extern
dbg_lgint_t
types_extract_as_integer
(
const
struct
dbg_lvalue
*
);
extern
dbg_lgint_t
types_extract_as_l
onglong
(
const
struct
dbg_lvalue
*
,
unsigned
*
psize
,
BOOL
*
pissigned
);
extern
dbg_lgint_t
types_extract_as_l
gint
(
const
struct
dbg_lvalue
*
,
unsigned
*
psize
,
BOOL
*
pissigned
);
extern
void
types_extract_as_address
(
const
struct
dbg_lvalue
*
,
ADDRESS64
*
);
extern
BOOL
types_store_value
(
struct
dbg_lvalue
*
lvalue_to
,
const
struct
dbg_lvalue
*
lvalue_from
);
extern
BOOL
types_udt_find_element
(
struct
dbg_lvalue
*
value
,
const
char
*
name
,
ULONG
*
tmpbuf
);
...
...
programs/winedbg/memory.c
View file @
9b8d043c
...
...
@@ -537,7 +537,7 @@ void print_basic(const struct dbg_lvalue* lvalue, char format)
if
(
format
!=
0
)
{
unsigned
size
;
dbg_lgint_t
res
=
types_extract_as_l
onglong
(
lvalue
,
&
size
,
NULL
);
dbg_lgint_t
res
=
types_extract_as_l
gint
(
lvalue
,
&
size
,
NULL
);
WCHAR
wch
;
switch
(
format
)
...
...
@@ -570,7 +570,7 @@ void print_basic(const struct dbg_lvalue* lvalue, char format)
}
if
(
lvalue
->
type
.
id
==
dbg_itype_segptr
)
{
dbg_print_longlong
(
types_extract_as_l
onglong
(
lvalue
,
NULL
,
NULL
),
TRUE
);
dbg_print_longlong
(
types_extract_as_l
gint
(
lvalue
,
NULL
,
NULL
),
TRUE
);
}
else
print_typed_basic
(
lvalue
);
}
...
...
programs/winedbg/types.c
View file @
9b8d043c
...
...
@@ -47,13 +47,13 @@ BOOL types_get_real_type(struct dbg_type* type, DWORD* tag)
}
/******************************************************************
* types_extract_as_l
onglong
* types_extract_as_l
gint
*
* Given a lvalue, try to get an integral (or pointer/address) value
* out of it
*/
dbg_lgint_t
types_extract_as_l
onglong
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
*
psize
,
BOOL
*
issigned
)
dbg_lgint_t
types_extract_as_l
gint
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
*
psize
,
BOOL
*
issigned
)
{
dbg_lgint_t
rtn
=
0
;
DWORD
tag
,
bt
;
...
...
@@ -138,7 +138,7 @@ dbg_lgint_t types_extract_as_longlong(const struct dbg_lvalue* lvalue,
*/
dbg_lgint_t
types_extract_as_integer
(
const
struct
dbg_lvalue
*
lvalue
)
{
return
types_extract_as_l
onglong
(
lvalue
,
NULL
,
NULL
);
return
types_extract_as_l
gint
(
lvalue
,
NULL
,
NULL
);
}
/******************************************************************
...
...
@@ -155,7 +155,7 @@ void types_extract_as_address(const struct dbg_lvalue* lvalue, ADDRESS64* addr)
else
{
addr
->
Mode
=
AddrModeFlat
;
addr
->
Offset
=
types_extract_as_l
onglong
(
lvalue
,
NULL
,
NULL
);
addr
->
Offset
=
types_extract_as_l
gint
(
lvalue
,
NULL
,
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