[PATCH/i386newframe/RFC] DWARF CFI frame unwinder
Andrew Cagney
ac131313@redhat.com
Mon May 5 14:31:00 GMT 2003
> 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.
Yes (sorry I should have been more specific).
> Memory for the CIE's and FDE's when reading the debug info is
> allocated from the object's psymtab obstack.
>
> Mark
>
More information about the Gdb-patches
mailing list