diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-10-09 13:22:35 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-10-09 13:22:35 +0000 |
commit | 29c3eb83b92ecec761add5bd03d59a2c3551b038 (patch) | |
tree | 325008cd176fddf74d6426e1a20508fb6cdcfde0 /gdb/objfiles.h | |
parent | 87da1eab9b570eb2aec5cd017d90ac147677ff53 (diff) | |
download | gdb-29c3eb83b92ecec761add5bd03d59a2c3551b038.tar.gz |
New flag OBJF_NOT_FILENAME
gdb/
2013-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
New flag OBJF_NOT_FILENAME.
* auto-load.c (auto_load_objfile_script): Check also OBJF_NOT_FILENAME.
* jit.c (jit_object_close_impl): Use OBJF_NOT_FILENAME for
allocate_objfile.
(jit_bfd_try_read_symtab): Use OBJF_NOT_FILENAME for
symbol_file_add_from_bfd.
* jv-lang.c (get_dynamics_objfile): Use OBJF_NOT_FILENAME for
allocate_objfile.
* objfiles.c (allocate_objfile): Assert OBJF_NOT_FILENAME if NAME is
NULL.
* objfiles.h (OBJF_NOT_FILENAME): New.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 8586e5a12bf..08771d09256 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -429,6 +429,11 @@ struct objfile #define OBJF_MAINLINE (1 << 5) +/* ORIGINAL_NAME and OBFD->FILENAME correspond to text description unrelated to + filesystem names. It can be for example "<image in memory>". */ + +#define OBJF_NOT_FILENAME (1 << 6) + /* Declarations for functions defined in objfiles.c */ extern struct objfile *allocate_objfile (bfd *, const char *name, int); |