From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31942 invoked by alias); 5 May 2003 13:52:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31933 invoked from network); 5 May 2003 13:52:04 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.212) by sources.redhat.com with SMTP; 5 May 2003 13:52:04 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6/8.12.5) with ESMTP id h45DpuPo001822; Mon, 5 May 2003 15:51:56 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6/8.12.6) with ESMTP id h45DpucO009307; Mon, 5 May 2003 15:51:56 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6/8.12.6/Submit) id h45Dpuku009304; Mon, 5 May 2003 15:51:56 +0200 (CEST) Date: Mon, 05 May 2003 13:52:00 -0000 Message-Id: <200305051351.h45Dpuku009304@elgar.kettenis.dyndns.org> From: Mark Kettenis To: ac131313@redhat.com CC: gdb-patches@sources.redhat.com In-reply-to: <3EB5DBFF.6030009@redhat.com> (message from Andrew Cagney on Sun, 04 May 2003 23:35:27 -0400) Subject: Re: [PATCH/i386newframe/RFC] DWARF CFI frame unwinder References: <200305042207.h44M7gNG023734@elgar.kettenis.dyndns.org> <3EB5DBFF.6030009@redhat.com> X-SW-Source: 2003-05/txt/msg00058.txt.bz2 Date: Sun, 04 May 2003 23:35:27 -0400 From: Andrew Cagney 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