aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2014-12-01 09:12:59 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2014-12-01 09:12:59 -0500
commit30b5e341f3bcb219718ad32cd0065670fd37e637 (patch)
tree3c58862eb36dfa1aa8a088d7e73dc4c0244d19f9 /gdb
parentfb389763e0ee42be2f221da60e1c126314857d11 (diff)
downloadgdb-30b5e341f3bcb219718ad32cd0065670fd37e637.zip
gdb-30b5e341f3bcb219718ad32cd0065670fd37e637.tar.gz
gdb-30b5e341f3bcb219718ad32cd0065670fd37e637.tar.bz2
Remove duplicate comment
gdb/ChangeLog: * objfiles.c (allocate_objfile): Remove duplicate comment.
Diffstat (limited to 'gdb')
-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)