diff options
author | Sanjoy Das <sanjoyd@sourceware.org> | 2011-11-29 08:30:29 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoyd@sourceware.org> | 2011-11-29 08:30:29 +0000 |
commit | b4264740b3c4902f63983748aa94569333d89082 (patch) | |
tree | f093704dd5f5121b96ea2144240bee580a878288 | |
parent | c36260c737efdcdfad6de7d535f99bf9eeed0657 (diff) | |
download | gdb-b4264740b3c4902f63983748aa94569333d89082.zip gdb-b4264740b3c4902f63983748aa94569333d89082.tar.gz gdb-b4264740b3c4902f63983748aa94569333d89082.tar.bz2 |
gdb/
* jit.c (add_objfile_entry, jit_reader_try_read_symtab)
(jit_bfd_try_read_symtab): Fix comments.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/jit.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c759514..a8d71f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-11-29 Sanjoy Das <sdas@igalia.com> + + * jit.c (add_objfile_entry, jit_reader_try_read_symtab) + (jit_bfd_try_read_symtab): Fix comments. + 2011-11-28 DJ Delorie <dj@redhat.com> * NEWS: Mention RL78 simulator. @@ -239,7 +239,8 @@ struct jit_inferior_data CORE_ADDR descriptor_addr; /* &__jit_debug_descriptor */ }; -/* Remember a mapping from entry_addr to objfile. */ +/* Remember OBJFILE has been created for struct jit_code_entry located + at inferior address ENTRY. */ static void add_objfile_entry (struct objfile *objfile, CORE_ADDR entry) @@ -711,8 +712,8 @@ jit_object_close_impl (struct gdb_symbol_callbacks *cb, } /* Try to read CODE_ENTRY using the loaded jit reader (if any). - ENTRY_ADDR is the address of the object file (in the target's - address space) being read. */ + ENTRY_ADDR is the address of the struct jit_code_entry in the + inferior address space. */ static int jit_reader_try_read_symtab (struct jit_code_entry *code_entry, @@ -769,7 +770,7 @@ jit_reader_try_read_symtab (struct jit_code_entry *code_entry, } /* Try to read CODE_ENTRY using BFD. ENTRY_ADDR is the address of the - object file (in the target's address space) being read. */ + struct jit_code_entry in the inferior address space. */ static void jit_bfd_try_read_symtab (struct jit_code_entry *code_entry, |