Add binary location information
[babeltrace.git] / include / babeltrace / debuginfo.h
index 9849685a04500a77a71704428f08b8839f05b7b1..d85c36c48e7e0fc1ec807d9d2da94f43dfacb2f4 100644 (file)
@@ -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
This page took 0.024795 seconds and 4 git commands to generate.