diff options
Diffstat (limited to 'gdb/jit.c')
-rw-r--r-- | gdb/jit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/jit.c b/gdb/jit.c index b5f6ff455f4..2bb991244c4 100644 --- a/gdb/jit.c +++ b/gdb/jit.c @@ -923,6 +923,7 @@ JITed symbol file is not an object file, ignoring it.\n")); sai->other[i].sectindex = sec->index; ++i; } + sai->num_sections = i; /* This call does not take ownership of SAI. */ make_cleanup_bfd_unref (nbfd); |