diff options
author | Tom Tromey <tromey@redhat.com> | 2011-12-21 21:34:24 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-12-21 21:34:24 +0000 |
commit | 63af57135ddf1d96c37be8054be887872e563faf (patch) | |
tree | 12e05d162eb507b42c2cb182085f3f8a65f56aee /gdb/jit.c | |
parent | c4112dfdbae0412065a98f55d1923d88b0788363 (diff) | |
download | gdb-63af57135ddf1d96c37be8054be887872e563faf.tar.gz |
* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Use
ALL_OBJFILE_MSYMBOLS.
(hppa_hpux_find_dummy_bpaddr): Likewise.
* jit.c (jit_object_close_impl): Use
terminate_minimal_symbol_table.
Diffstat (limited to 'gdb/jit.c')
-rw-r--r-- | gdb/jit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/jit.c b/gdb/jit.c index 843c768e184..c1274237259 100644 --- a/gdb/jit.c +++ b/gdb/jit.c @@ -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 >>"); |