diff --git a/librz/core/cmd/cmd_debug.c b/librz/core/cmd/cmd_debug.c index 66e25c07777..3a5c1350be0 100644 --- a/librz/core/cmd/cmd_debug.c +++ b/librz/core/cmd/cmd_debug.c @@ -2020,8 +2020,10 @@ RZ_IPI RzCmdStatus rz_cmd_debug_display_bt_handler(RzCore *core, int argc, const switch (mode) { case RZ_OUTPUT_MODE_STANDARD: { rz_cons_printf("%d %s sp: %s %-5d" - "[%s] %s %s\n", - i++, bt->pcstr, bt->spstr, bt->frame->size, bt->fcn ? bt->fcn->name : "??", rz_str_get(bt->flagdesc), rz_str_get(bt->flagdesc2)); + "[%s]%s%s%s%s\n", + i++, bt->pcstr, bt->spstr, bt->frame->size, bt->fcn ? bt->fcn->name : "??", + bt->flagdesc ? " " : "", rz_str_get(bt->flagdesc), + bt->flagdesc2 ? " " : "", rz_str_get(bt->flagdesc2)); break; } case RZ_OUTPUT_MODE_RIZIN: { diff --git a/test/db/archos/linux-x64/dbg_trace b/test/db/archos/linux-x64/dbg_trace index f8422886e01..d2e7d4c9847 100644 --- a/test/db/archos/linux-x64/dbg_trace +++ b/test/db/archos/linux-x64/dbg_trace @@ -56,12 +56,12 @@ FILE=bins/elf/analysis/calls_x64 ARGS=-d CMDS=<