Commit 9b8d043c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Renamed extract_longlong() into extract_lgint() for clarity.

parent e656c29e
......@@ -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_longlong(const struct dbg_lvalue*, unsigned* psize, BOOL *pissigned);
extern dbg_lgint_t types_extract_as_lgint(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);
......
......@@ -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_longlong(lvalue, &size, NULL);
dbg_lgint_t res = types_extract_as_lgint(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_longlong(lvalue, NULL, NULL), TRUE);
dbg_print_longlong(types_extract_as_lgint(lvalue, NULL, NULL), TRUE);
}
else print_typed_basic(lvalue);
}
......
......@@ -47,13 +47,13 @@ BOOL types_get_real_type(struct dbg_type* type, DWORD* tag)
}
/******************************************************************
* types_extract_as_longlong
* types_extract_as_lgint
*
* Given a lvalue, try to get an integral (or pointer/address) value
* out of it
*/
dbg_lgint_t types_extract_as_longlong(const struct dbg_lvalue* lvalue,
unsigned* psize, BOOL *issigned)
dbg_lgint_t types_extract_as_lgint(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_longlong(lvalue, NULL, NULL);
return types_extract_as_lgint(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_longlong(lvalue, NULL, NULL);
addr->Offset = types_extract_as_lgint(lvalue, NULL, NULL);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment