X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Ftrace-debuginfo.h;h=2733e99a3fc11e52739adce02b8d23b63a8878b2;hp=cf4069a228496245575bbabb6936d0ffdac5c41e;hb=dc419b6cc12d26c840d29440d5077f0a29221952;hpb=e362dc9319fe4863cf6d60ac41f8779807b7fbce diff --git a/include/babeltrace/trace-debuginfo.h b/include/babeltrace/trace-debuginfo.h index cf4069a2..2733e99a 100644 --- a/include/babeltrace/trace-debuginfo.h +++ b/include/babeltrace/trace-debuginfo.h @@ -76,10 +76,11 @@ void ctf_text_integer_write_debug_info(struct bt_stream_pos *ppos, fprintf(pos->fp, ", "); } - fprintf(pos->fp, "bin = \"%s\"", + fprintf(pos->fp, "bin = \"%s%s\"", opt_debug_info_full_path ? debug_info_src->bin_path : - debug_info_src->short_bin_path); + debug_info_src->short_bin_path, + debug_info_src->bin_loc); } fprintf(pos->fp, " }");