diff options
Diffstat (limited to 'gdb/jit.c')
-rw-r--r-- | gdb/jit.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -694,9 +694,7 @@ jit_object_close_impl (struct gdb_symbol_callbacks *cb, objfile = allocate_objfile (NULL, 0); objfile->gdbarch = target_gdbarch; - objfile->msymbols = obstack_alloc (&objfile->objfile_obstack, - sizeof (struct minimal_symbol)); - memset (objfile->msymbols, 0, sizeof (struct minimal_symbol)); + terminate_minimal_symbol_table (objfile); xfree (objfile->name); objfile->name = xstrdup ("<< JIT compiled code >>"); |