From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32742 invoked by alias); 12 Oct 2006 12:54:25 -0000 Received: (qmail 32734 invoked by uid 22791); 12 Oct 2006 12:54:25 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 12 Oct 2006 12:54:22 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GY04n-00005x-EW; Thu, 12 Oct 2006 08:54:17 -0400 Date: Thu, 12 Oct 2006 12:54:00 -0000 From: Daniel Jacobowitz To: ligang@sunnorth.com.cn Cc: Joel Brobecker , bjgnu@sunnorth.com.cn, gdb@sourceware.org Subject: Re: fail to get ra and bp Message-ID: <20061012125417.GB32739@nevyn.them.org> Mail-Followup-To: ligang@sunnorth.com.cn, Joel Brobecker , bjgnu@sunnorth.com.cn, gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00076.txt.bz2 On Thu, Oct 12, 2006 at 03:17:06PM +0800, ligang@sunnorth.com.cn wrote: > Do you know which target use .eh_frame to handle call stack? > Would you please give me more info about .eh_frame or some documents > describing it? Most targets supported by GCC use it. It's the same as DWARF CFI, just with a slightly different encoding to support use at runtime. > Could I directly call the functions in prologue-value.[hc]? Take a look at the one port in the tree (maybe two?) which already uses this code. -- Daniel Jacobowitz CodeSourcery