X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fdebuginfo.h;h=d85c36c48e7e0fc1ec807d9d2da94f43dfacb2f4;hb=dae52e7673333cf41828c8686158948ce93ef104;hp=9849685a04500a77a71704428f08b8839f05b7b1;hpb=458af89d3baff393a4c38f70520fb51b811ad932;p=babeltrace.git diff --git a/include/babeltrace/debuginfo.h b/include/babeltrace/debuginfo.h index 9849685a..d85c36c4 100644 --- a/include/babeltrace/debuginfo.h +++ b/include/babeltrace/debuginfo.h @@ -42,9 +42,17 @@ struct debug_info_source { /* Strings are owned by debug_info_source. */ char *func; uint64_t line_no; - char *filename; - /* short_filename points inside filename, no need to free. */ - const char *short_filename; + char *src_path; + /* short_src_path points inside src_path, no need to free. */ + const char *short_src_path; + char *bin_path; + /* short_bin_path points inside bin_path, no need to free. */ + const char *short_bin_path; + /* + * Location within the binary. Either absolute (@0x1234) or + * relative (+0x4321). + */ + char *bin_loc; }; BT_HIDDEN