diff options
Diffstat (limited to 'gdb/jit.h')
-rw-r--r-- | gdb/jit.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gdb/jit.h b/gdb/jit.h index 09dbce21f5c..68547637b0b 100644 --- a/gdb/jit.h +++ b/gdb/jit.h @@ -28,12 +28,12 @@ struct minimal_symbol; these actions. These values are used by the inferior, so the values of these enums cannot be changed. */ -typedef enum +enum jit_actions_t { JIT_NOACTION = 0, JIT_REGISTER, JIT_UNREGISTER -} jit_actions_t; +}; /* This struct describes a single symbol file in a linked list of symbol files describing generated code. As the inferior generates @@ -95,12 +95,21 @@ struct jiter_objfile_data struct jited_objfile_data { - jited_objfile_data (CORE_ADDR addr) - : addr (addr) + jited_objfile_data (CORE_ADDR addr, CORE_ADDR symfile_addr, + ULONGEST symfile_size) + : addr (addr), + symfile_addr (symfile_addr), + symfile_size (symfile_size) {} /* Address of struct jit_code_entry for this objfile. */ CORE_ADDR addr; + + /* Value of jit_code_entry->symfile_addr for this objfile. */ + CORE_ADDR symfile_addr; + + /* Value of jit_code_entry->symfile_size for this objfile. */ + ULONGEST symfile_size; }; /* Re-establish the jit breakpoint(s). */ |