From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27469 invoked by alias); 23 Nov 2010 21:17:16 -0000 Received: (qmail 27461 invoked by uid 22791); 23 Nov 2010 21:17:15 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-fx0-f41.google.com (HELO mail-fx0-f41.google.com) (209.85.161.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Nov 2010 21:17:01 +0000 Received: by fxm20 with SMTP id 20so7080542fxm.0 for ; Tue, 23 Nov 2010 13:16:59 -0800 (PST) Received: by 10.223.118.211 with SMTP id w19mr1933797faq.14.1290547019103; Tue, 23 Nov 2010 13:16:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.87.7 with HTTP; Tue, 23 Nov 2010 13:16:38 -0800 (PST) In-Reply-To: <1290438965.1567.22.camel@random> References: <1290438965.1567.22.camel@random> From: =?UTF-8?B?UGV0ciBIbHV6w61u?= Date: Tue, 23 Nov 2010 21:17:00 -0000 Message-ID: Subject: Re: Assertion Fail: FDE != NULL in Cyclops64 To: Brian Heilig Cc: gdb Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00088.txt.bz2 Hello On 22 November 2010 16:16, Brian Heilig wrote: > I found that memmove (and other functions) were not compiled with debug > information. Since these were hand optimized routines in assembly it > would be very difficult to add debugging information. What kind of debugging information to add? Source lines? GAS has an option to include these. It has to be enabled manually, GCC does not pass -g option for some reason. Type information? I dunno. Stack-trace/-unwind info? I think this should be easy. The feature is well hidden in GAS. I fact it is not supported on some architectures and the docs do not say which. (I got burnt.) If GAS implements them then I might try to write the annotations for the memmove. Where is the source for the memmove function? Is it in-line assembly in C file or standalone asm file? (I assume standalone.) (I know nothing about the assertion or its surrounding code.) -- Petr Hluzin