gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / bfd / bfdwin.c
index f3faba48091f1595469ace79f84e926ade632b20..51b4faca76c09027b07edf329bd40199c16c9e9a 100644 (file)
@@ -1,5 +1,5 @@
 /* Support for memory-mapped windows into a BFD.
-   Copyright (C) 1995-2016 Free Software Foundation, Inc.
+   Copyright (C) 1995-2020 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -150,6 +150,7 @@ bfd_get_file_window (bfd *abfd,
          offset += abfd->origin;
          abfd = abfd->my_archive;
        }
+      offset += abfd->origin;
 
       /* Seek into the file, to ensure it is open if cacheable.  */
       if (abfd->iostream == NULL
This page took 0.024361 seconds and 4 git commands to generate.