From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23906 invoked by alias); 29 Nov 2010 21:07:32 -0000 Received: (qmail 23802 invoked by uid 22791); 29 Nov 2010 21:07:32 -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,TW_JL X-Spam-Check-By: sourceware.org Received: from mail-yw0-f41.google.com (HELO mail-yw0-f41.google.com) (209.85.213.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Nov 2010 21:07:27 +0000 Received: by ywg4 with SMTP id 4so67162ywg.0 for ; Mon, 29 Nov 2010 13:07:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.196.1 with SMTP id t1mr11412632ybf.1.1291064845600; Mon, 29 Nov 2010 13:07:25 -0800 (PST) Received: by 10.151.27.17 with HTTP; Mon, 29 Nov 2010 13:07:25 -0800 (PST) In-Reply-To: References: <20101129081619.GD5218@cr0.nay.redhat.com> <20101129085250.GF5218@cr0.nay.redhat.com> Date: Mon, 29 Nov 2010 21:07:00 -0000 Message-ID: Subject: Re: [PATCH] Built kernel without -O2 option From: richard -rw- weinberger To: Arnaud Lacombe 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/msg00131.txt.bz2 On Mon, Nov 29, 2010 at 10:00 PM, Arnaud Lacombe wrote: > 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 = inlined? >> Is it because of asm() black magic? >> > obviously, you do not understand the purpose of this function... this is why i was asking! anyway, now i got it. thanks to peter zijlstra for the kind explanation on #kernelnewbies. > =A0- Arnaud > --=20 Thanks, //richard