Default gdb_bfd_open's fd parameter to -1
authorPedro Alves <palves@redhat.com>
Tue, 19 May 2020 17:36:24 +0000 (18:36 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 19 May 2020 17:36:24 +0000 (18:36 +0100)
commitad80db5b9f7c95105c78d3ab439678184d1b7177
tree8cd4ce853e52de8f158a615ec3439b7d3a693029
parent1d6ce4d31257e1ea49b3a1b257055bf8f7ff16af
Default gdb_bfd_open's fd parameter to -1

A following patch will add one more defaulted parameter.

gdb/ChangeLog:
2020-05-19  Pedro Alves  <palves@redhat.com>

* gdb_bfd.h: (gdb_bfd_open): Default to 'fd' parameter to -1.
Adjust all callers.
gdb/ChangeLog
gdb/build-id.c
gdb/compile/compile-object-load.c
gdb/dwarf2/read.c
gdb/gdb_bfd.h
gdb/machoread.c
gdb/solib-darwin.c
gdb/symfile.c
gdb/windows-nat.c
gdb/windows-tdep.c