This commit is contained in:
julianb0 2019-06-16 19:47:17 +02:00
parent 76874ad7c3
commit d60abc509a
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
1 changed files with 4 additions and 3 deletions

View File

@ -27,13 +27,13 @@ void dump_instr(ctx_t *ctx,
uint cond,
ulong pc)
{
log("0x%lX: ", pc);
log("0x%lX:\t", pc);
if (lock)
log("lock");
#ifndef _ATT_STYLE
log("%s\t", in->name);
log("%s", in->name);
#else
char s1[2] = {0, 0}, s2[2] = {0, 0};
@ -43,7 +43,7 @@ void dump_instr(ctx_t *ctx,
if (p2 && ACC_IS_MEM(p2))
s2[0] = getmempref(p2->mlen);
log("%s%s%s\t", in->name, s1, s2);
log("%s%s%s", in->name, s1, s2);
#endif
if (rep)
@ -70,6 +70,7 @@ void dump_instr(ctx_t *ctx,
else
log("\t");
if (p1) {
#ifndef _ATT_STYLE
dump_acc(ctx, p1);
if (p2) {