debug-info.debug-info: do not use global opt_* symbols anymore
[babeltrace.git] / plugins / debug-info / bin-info.h
index c4da928ae4c7e423c57a07a6eaf76afe8e7a9f61..05d0d797d0372697a45eb23f33394507df965ed0 100644 (file)
@@ -60,6 +60,8 @@ struct bin_info {
        /* FDs to ELF and DWARF files. */
        int elf_fd;
        int dwarf_fd;
+       /* Configuration. */
+       char *debug_info_dir;
        /* Denotes whether the executable is position independent code. */
        bool is_pic:1;
        /*
@@ -92,12 +94,16 @@ int bin_info_init(void);
  * @param memsz        In-memory size of the executable
  * @param is_pic       Whether the executable is position independent
  *                     code (PIC)
+ * @param debug_info_dir Directory containing debug info or NULL.
+ * @param target_prefix  Path to the root file system of the target
+ *                       or NULL.
  * @returns            Pointer to the new bin_info on success,
  *                     NULL on failure.
  */
 BT_HIDDEN
 struct bin_info *bin_info_create(const char *path, uint64_t low_addr,
-               uint64_t memsz, bool is_pic);
+               uint64_t memsz, bool is_pic, const char *debug_info_dir,
+               const char *target_prefix);
 
 /**
  * Destroy the given bin_info instance
This page took 0.025964 seconds and 4 git commands to generate.