From owner-freebsd-arch@FreeBSD.ORG Mon Jan 22 10:30:36 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0DEE16A405 for ; Mon, 22 Jan 2007 10:30:36 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.freebsd.org (Postfix) with ESMTP id 379FD13C44B for ; Mon, 22 Jan 2007 10:30:36 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.8/8.13.8) with ESMTP id l0M9qfWe027760; Mon, 22 Jan 2007 10:52:41 +0100 (CET) (envelope-from ivoras@fer.hr) Message-ID: <45B48968.20506@fer.hr> Date: Mon, 22 Jan 2007 10:52:40 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.4 (X11/20060625) MIME-Version: 1.0 To: Peter Jeremy References: <20070121140019.A83688@xorpc.icir.org> <20070122084634.GH837@turion.vk2pj.dyndns.org> In-Reply-To: <20070122084634.GH837@turion.vk2pj.dyndns.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: bzero & bcopy alignment X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 10:30:36 -0000 Peter Jeremy wrote: > On Sun, 2007-Jan-21 23:25:14 +0100, Ivan Voras wrote: >> Any magic tricks to identify the caller of "current" function in the kernel? > > On gcc: __builtin_return_address() Ok, this looks nice. Can I convert the result to something processable by addr2line? (in other words: is kernel relocated on load?)