forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user