Commit 07502a06 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Replace wine_dbgstr_longlong with I64 width modifier.

parent a29a8a31
......@@ -402,8 +402,7 @@ static void break_add_watch(const struct dbg_lvalue* lvalue, BOOL is_write)
{
case 4: case 2: case 1: break;
default:
dbg_printf("Unsupported length (%s) for watch-points, defaulting to 4\n",
wine_dbgstr_longlong(l));
dbg_printf("Unsupported length (%I64x) for watch-points, defaulting to 4\n", l);
break;
}
}
......@@ -752,8 +751,8 @@ BOOL break_should_continue(ADDRESS64* addr, DWORD code)
case be_xpoint_watch_write:
dbg_printf("Stopped on watchpoint %d at ", dbg_curr_thread->stopped_xpoint);
print_address(addr, TRUE);
dbg_printf(" new value %s\n",
wine_dbgstr_longlong(dbg_curr_process->bp[dbg_curr_thread->stopped_xpoint].w.oldval));
dbg_printf(" new value %I64x\n",
dbg_curr_process->bp[dbg_curr_thread->stopped_xpoint].w.oldval);
}
return FALSE;
}
......
......@@ -1420,7 +1420,7 @@ static enum packet_return packet_read_register(struct gdb_context* gdbctx)
return packet_error;
}
TRACE("%Iu => %s\n", reg, wine_dbgstr_longlong(cpu_register(gdbctx, &ctx, reg)));
TRACE("%Iu => %I64x\n", reg, cpu_register(gdbctx, &ctx, reg));
packet_reply_open(gdbctx);
packet_reply_register_hex_to(gdbctx, &ctx, reg);
......
......@@ -168,9 +168,9 @@ struct info_modules
static void module_print_info(const struct info_module *module, BOOL is_embedded)
{
dbg_printf("%*.*s-%*.*s\t%-16s%s\n",
ADDRWIDTH, ADDRWIDTH, wine_dbgstr_longlong(module->mi.BaseOfImage),
ADDRWIDTH, ADDRWIDTH, wine_dbgstr_longlong(module->mi.BaseOfImage + module->mi.ImageSize),
dbg_printf("%*.*I64x-%*.*I64x\t%-16s%s\n",
ADDRWIDTH, ADDRWIDTH, module->mi.BaseOfImage,
ADDRWIDTH, ADDRWIDTH, module->mi.BaseOfImage + module->mi.ImageSize,
is_embedded ? "\\" : get_symtype_str(&module->mi), module->name);
}
......
......@@ -83,7 +83,7 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
}
if (size > sizeof(rtn))
{
WINE_ERR("Size too large (%s)\n", wine_dbgstr_longlong(size));
WINE_ERR("Size too large (%I64x)\n", size);
RaiseException(DEBUG_STATUS_NOT_AN_INTEGER, 0, 0, NULL);
return rtn;
}
......
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