This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/i386newframe/RFC] DWARF CFI frame unwinder
Date: Sun, 04 May 2003 23:35:27 -0400
From: Andrew Cagney <ac131313@redhat.com>
Using the frame obstack for memory looks right.
Well, the frame obstack only gets used for the frame cache. When
building the frame cache temporary memory for the frame state is
allocated using xmalloc(). I considered using the obstack, but
growing objects after they've been finished seems to be impossible
without ugly hacks.
Memory for the CIE's and FDE's when reading the debug info is
allocated from the object's psymtab obstack.
Mark