From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3925 invoked by alias); 13 Sep 2002 15:16:36 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3903 invoked from network); 13 Sep 2002 15:16:34 -0000 Received: from unknown (HELO bortas.appeal.se) (195.22.77.29) by sources.redhat.com with SMTP; 13 Sep 2002 15:16:34 -0000 Received: from appeal.se (transwarp.appeal.se [172.22.48.118]) by bortas.appeal.se (8.11.0/8.11.0) with ESMTP id g8DFG6932597 for ; Fri, 13 Sep 2002 17:16:06 +0200 Message-ID: <3D820172.3070707@appeal.se> Date: Fri, 13 Sep 2002 08:16:00 -0000 From: Johan Walles User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: sv, en-us MIME-Version: 1.0 To: gdb Subject: create_new_frame() on Linux/IA64 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00152.txt.bz2 I'm trying to insert artificial stack frames in a backtrace using create_new_frame(addr, pc) on Linux/IA64. The pc parameter is quite obvious, but what should I use for addr? The problem I'm trying to solve is that we do our own code generation, and gdb can't parse our stack frames. I'm trying to patch get_prev_frame() to call on us for help with stack frames it doesn't recognize. Regards //Johan