diff options
author | Pedro Alves <palves@redhat.com> | 2020-05-19 18:36:24 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2020-05-19 18:36:24 +0100 |
commit | ad80db5b9f7c95105c78d3ab439678184d1b7177 (patch) | |
tree | 8cd4ce853e52de8f158a615ec3439b7d3a693029 /gdb/windows-nat.c | |
parent | 1d6ce4d31257e1ea49b3a1b257055bf8f7ff16af (diff) | |
download | gdb-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/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index f52af9a..3452f6c 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -834,7 +834,7 @@ windows_make_so (const char *name, LPVOID load_addr) { asection *text = NULL; - gdb_bfd_ref_ptr abfd (gdb_bfd_open (so->so_name, "pei-i386", -1)); + gdb_bfd_ref_ptr abfd (gdb_bfd_open (so->so_name, "pei-i386")); if (abfd == NULL) return so; |