diff options
Diffstat (limited to 'gdb/dsrec.c')
-rw-r--r-- | gdb/dsrec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dsrec.c b/gdb/dsrec.c index f39d0ed..20ff339 100644 --- a/gdb/dsrec.c +++ b/gdb/dsrec.c @@ -61,7 +61,7 @@ load_srec (struct serial *desc, const char *file, bfd_vma load_offset, srec = (char *) alloca (maxrecsize + 1); - abfd = gdb_bfd_openr (file, 0); + abfd = gdb_bfd_open (file, NULL, -1); if (!abfd) { printf_filtered (_("Unable to open file %s\n"), file); |