Lines Matching refs:obstack
1034 obstack. The memory is freed when the corresponding architecture
1095 typedef void *(gdbarch_data_pre_init_ftype) (struct obstack *obstack);
1335 /* Create an obstack for allocating all the per-architecture memory,
1337 struct obstack *obstack = XMALLOC (struct obstack);
1338 obstack_init (obstack);
1339 current_gdbarch = obstack_alloc (obstack, sizeof (*current_gdbarch));
1341 current_gdbarch->obstack = obstack;
1378 /* Allocate extra space using the per-architecture obstack. */
1383 void *data = obstack_alloc (arch->obstack, size);
1398 struct obstack *obstack;
1401 obstack = arch->obstack;
1402 obstack_free (obstack, 0); /* Includes the ARCH. */
1403 xfree (obstack);
1806 gdbarch->data[data->index] = data->pre_init (gdbarch->obstack);