Allow passing fd == NULL to exec_file_find and solib_find
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 92d972e7b523142282f8670b9601fe03dd1e88b9..425282c945059a014d9af30468737e085188153a 100644 (file)
@@ -1,3 +1,13 @@
+2015-04-29  Gary Benson <gbenson@redhat.com>
+
+       * solib.c (solib_find_1): Allow fd argument to be NULL.
+       (exec_file_find): Update comment.
+       (solib_find): Likewise.
+       * exec.c (exec_file_locate_attach): Use NULL as fd
+       argument to exec_file_find to avoid having to close
+       the opened file.
+       * infrun.c (follow_exec): Likewise.
+
 2015-04-28  Doug Evans  <dje@google.com>
 
        PR python/18299
This page took 0.024342 seconds and 4 git commands to generate.