This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH obvious/pushed] Remove duplicate comment


I took the liberty of pushing this under the obvious rule. Hopefully, I did not
mess up anything.

gdb/ChangeLog:

	* objfiles.c (allocate_objfile): Remove duplicate comment.
---
 gdb/ChangeLog  | 4 ++++
 gdb/objfiles.c | 4 ----
 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)
-- 
2.1.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]