aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/objfiles.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cfc41db..13346fa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
+
+ * objfiles.c (allocate_objfile): Remove duplicate comment.
+
2014-12-01 Ulrich Weigand  <uweigand@de.ibm.com>
* config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o.
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 5878add..a5df305 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -314,10 +314,6 @@ allocate_objfile (bfd *abfd, const char *name, int flags)
that any data that is reference is saved in the per-objfile data
region. */
- /* Update the per-objfile information that comes from the bfd, ensuring
- that any data that is reference is saved in the per-objfile data
- region. */
-
objfile->obfd = abfd;
gdb_bfd_ref (abfd);
if (abfd != NULL)