aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-darwin.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2020-05-19 18:36:24 +0100
committerPedro Alves <palves@redhat.com>2020-05-19 18:36:24 +0100
commitad80db5b9f7c95105c78d3ab439678184d1b7177 (patch)
tree8cd4ce853e52de8f158a615ec3439b7d3a693029 /gdb/solib-darwin.c
parent1d6ce4d31257e1ea49b3a1b257055bf8f7ff16af (diff)
downloadgdb-ad80db5b9f7c95105c78d3ab439678184d1b7177.zip
gdb-ad80db5b9f7c95105c78d3ab439678184d1b7177.tar.gz
gdb-ad80db5b9f7c95105c78d3ab439678184d1b7177.tar.bz2
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.
Diffstat (limited to 'gdb/solib-darwin.c')
-rw-r--r--gdb/solib-darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index 03d91d1..e740a41 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -436,7 +436,7 @@ darwin_get_dyld_bfd ()
return NULL;
/* Create a bfd for the interpreter. */
- gdb_bfd_ref_ptr dyld_bfd (gdb_bfd_open (interp_name, gnutarget, -1));
+ gdb_bfd_ref_ptr dyld_bfd (gdb_bfd_open (interp_name, gnutarget));
if (dyld_bfd != NULL)
{
gdb_bfd_ref_ptr sub