From 63af57135ddf1d96c37be8054be887872e563faf Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 21 Dec 2011 21:34:24 +0000 Subject: * 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. --- gdb/jit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/jit.c') 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 >>"); -- cgit v1.2.1