2011-06-01 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Wed, 1 Jun 2011 14:46:23 +0000 (14:46 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 1 Jun 2011 14:46:23 +0000 (14:46 +0000)
* objfiles.h (obj_section_addr): Update reference to objfile from
`abfd' to `obfd'.
(obj_section_endaddr): Likewise.

gdb/ChangeLog
gdb/objfiles.h

index 6b192955f13dfe147b93e039f94657b1d255194d..a560fd51b08918a5d1f0cc23373b9366229d7476 100644 (file)
@@ -1,3 +1,9 @@
+2011-06-01  Yao Qi  <yao@codesourcery.com>
+
+       * objfiles.h (obj_section_addr): Update reference to objfile from
+       `abfd' to `obfd'.
+       (obj_section_endaddr): Likewise.
+
 2011-06-01  Daniel Jacobowitz  <drow@false.org>
 
        * MAINTAINERS: Update my email address and affiliation.  Also
index 04b6d473c1d78c5c8af3cc36014ff44259182fe1..6a9a2fdfe27ebcdeb613a3209f5ccc33a187cc8c 100644 (file)
@@ -128,13 +128,13 @@ struct obj_section
 
 /* The memory address of section S (vma + offset).  */
 #define obj_section_addr(s)                                            \
-  (bfd_get_section_vma ((s)->objfile->abfd, s->the_bfd_section)                \
+  (bfd_get_section_vma ((s)->objfile->obfd, s->the_bfd_section)                \
    + obj_section_offset (s))
 
 /* The one-passed-the-end memory address of section S
    (vma + size + offset).  */
 #define obj_section_endaddr(s)                                         \
-  (bfd_get_section_vma ((s)->objfile->abfd, s->the_bfd_section)                \
+  (bfd_get_section_vma ((s)->objfile->obfd, s->the_bfd_section)                \
    + bfd_get_section_size ((s)->the_bfd_section)                       \
    + obj_section_offset (s))