diff options
author | Tom Tromey <tromey@redhat.com> | 2011-12-21 21:34:25 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-12-21 21:34:25 +0000 |
commit | a5bd37c3cab43e33d3c2daf0586d6401e0dca8fd (patch) | |
tree | e513eef621cbc79f0b273a15cd5f9aba8a6598ed /gdb/jit.c | |
parent | 0af1e9a54ba5bef7cbeeb0c65a311be8e0cfdd9d (diff) | |
download | gdb-a5bd37c3cab43e33d3c2daf0586d6401e0dca8fd.zip gdb-a5bd37c3cab43e33d3c2daf0586d6401e0dca8fd.tar.gz gdb-a5bd37c3cab43e33d3c2daf0586d6401e0dca8fd.tar.bz2 |
* 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
@@ -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 >>"); |