From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13306 invoked by alias); 10 Jan 2008 00:11:55 -0000 Received: (qmail 13297 invoked by uid 22791); 10 Jan 2008 00:11:55 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Jan 2008 00:11:37 +0000 Received: from zps36.corp.google.com (zps36.corp.google.com [172.25.146.36]) by smtp-out.google.com with ESMTP id m0A0BXXm020682; Wed, 9 Jan 2008 16:11:33 -0800 Received: from localhost.localdomain.google.com (dhcp-172-18-119-235.corp.google.com [172.18.119.235]) (authenticated bits=0) by zps36.corp.google.com with ESMTP id m0A0BPgQ022083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 9 Jan 2008 16:11:26 -0800 To: "PRC" Cc: David Daney , Andrew Haley , gcc-help Subject: Re: How to traceback call stack on MIPS arch? References: <200801081007106802280@gmail.com> <18307.21985.888303.875264@zebedee.pink> <4783CC42.2040807@avtrex.com> <200801091057184139804@gmail.com> From: Ian Lance Taylor Date: Fri, 11 Jan 2008 09:29:00 -0000 In-Reply-To: <200801091057184139804@gmail.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg00092.txt.bz2 "PRC" writes: > -fno-omit-frame-pointer may be what I want, since the programs are running > in a native embeded system without glibc. > I have read the gcc manual and noticed the option -fomit-frame-pointer. But > the manual says nothing about -fno-omit-frame-pointer. Is it a default > convention that each -fxxx option has a -fno-xxx counterpart? Yes, and this convention is documented. Many options have long names starting with `-f' or with `-W'--for example, -fmove-loop-invariants, -Wformat and so on. Most of these have both positive and negative forms; the negative form of -ffoo would be -fno-foo. This manual documents only one of these two forms, whichever one is not the default. Ian