From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25393 invoked by alias); 15 Feb 2011 19:15:23 -0000 Received: (qmail 25339 invoked by uid 22791); 15 Feb 2011 19:15:22 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Feb 2011 19:15:18 +0000 Received: by wyj26 with SMTP id 26so517862wyj.0 for ; Tue, 15 Feb 2011 11:15:15 -0800 (PST) Received: by 10.216.143.17 with SMTP id k17mr1040029wej.74.1297797315194; Tue, 15 Feb 2011 11:15:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.243.3 with HTTP; Tue, 15 Feb 2011 11:14:55 -0800 (PST) In-Reply-To: <4D5ACA80.2090005@redhat.com> References: <4D5ABAB2.2000405@redhat.com> <4D5ACA80.2090005@redhat.com> From: Anitha Boyapati Date: Tue, 15 Feb 2011 19:15:00 -0000 Message-ID: Subject: Re: Testing Call frame information in .debug_frame section To: Richard Henderson Cc: gdb@sourceware.org, binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00182.txt.bz2 On 16 February 2011 00:18, Richard Henderson wrote: > On 02/15/2011 10:09 AM, Anitha Boyapati wrote: >> I am a little confused here. I was under the impression that changes >> to GCC files alone would suffice. I am missing something here. Are the >> above mentioned changes required for assembling CFI information in >> assembly files in binutils? > > GCC *can* produce cfi information by itself without assembler help, > but can produce slightly more compact cfi information *with* help. > In addition, with assembler support it's easy to write cfi info to > go along with hand-written assembly. Ok. I was skimming through binutils ml archives for more info. Basically I have implemented CFI emission in AVR-GCC http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17994 I have no idea that somewhat similar changes are required in binutils too. Upon that the manual examination of output appeared correct. I am using binutils 2.20.1. Will see what happens on supporting the above macros. I wish there is some kind of updated binutils internals document like that of GCC's for some references. Thanks Richard! Anitha.