diff options
Diffstat (limited to 'gdb/compile/compile-object-load.h')
-rw-r--r-- | gdb/compile/compile-object-load.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gdb/compile/compile-object-load.h b/gdb/compile/compile-object-load.h index bef575e..311fb09 100644 --- a/gdb/compile/compile-object-load.h +++ b/gdb/compile/compile-object-load.h @@ -31,9 +31,16 @@ struct compile_module /* Inferior registers address or NULL if the inferior function does not require any. */ CORE_ADDR regs_addr; + + /* The "scope" of this compilation. */ + enum compile_i_scope_types scope; + + /* User data for SCOPE in use. */ + void *scope_data; }; -extern struct compile_module *compile_object_load (const char *object_file, - const char *source_file); +extern struct compile_module *compile_object_load + (const char *object_file, const char *source_file, + enum compile_i_scope_types scope, void *scope_data); #endif /* GDB_COMPILE_OBJECT_LOAD_H */ |