From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17515 invoked by alias); 29 Nov 2010 21:00:24 -0000 Received: (qmail 17506 invoked by uid 22791); 29 Nov 2010 21:00:24 -0000 X-SWARE-Spam-Status: No, hits=-1.9 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-gx0-f169.google.com (HELO mail-gx0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Nov 2010 21:00:19 +0000 Received: by gxk5 with SMTP id 5so2551154gxk.0 for ; Mon, 29 Nov 2010 13:00:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.164.68 with SMTP id f4mr1832252icy.162.1291064417588; Mon, 29 Nov 2010 13:00:17 -0800 (PST) Received: by 10.42.176.10 with HTTP; Mon, 29 Nov 2010 13:00:17 -0800 (PST) In-Reply-To: References: <20101129081619.GD5218@cr0.nay.redhat.com> <20101129085250.GF5218@cr0.nay.redhat.com> Date: Mon, 29 Nov 2010 21:00:00 -0000 Message-ID: Subject: Re: [PATCH] Built kernel without -O2 option From: Arnaud Lacombe To: richard -rw- weinberger Cc: =?ISO-8859-1?Q?Am=E9rico_Wang?= , Hui Zhu , linux-kernel@vger.kernel.org, gdb@sourceware.org, hellogcc@freelists.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00129.txt.bz2 Hi, On Mon, Nov 29, 2010 at 3:51 PM, richard -rw- weinberger wrote: > On Mon, Nov 29, 2010 at 9:52 AM, Am=E9rico Wang wrote: >>> [...] >> No, I didn't mean this, I meant some function that have to be inlined >> are those who only work when being inlined, e.g. current_text_addr(). > > Can you please explain to me why some functions work only when they are i= nlined? > Is it because of asm() black magic? > obviously, you do not understand the purpose of this function... - Arnaud