From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 12 05:07:37 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A674F16A4CE for ; Mon, 12 Jan 2004 05:07:37 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D96543D45 for ; Mon, 12 Jan 2004 05:07:35 -0800 (PST) (envelope-from alsbergt@cs.huji.ac.il) Received: from cerium.cs.huji.ac.il ([132.65.80.122] ident=exim) by cs.huji.ac.il with esmtp id 1Ag1n3-000Ean-AQ; Mon, 12 Jan 2004 15:07:33 +0200 Received: from alsbergt by cerium.cs.huji.ac.il with local (Exim 4.12) id 1Ag1n3-00007q-00; Mon, 12 Jan 2004 15:07:33 +0200 Date: Mon, 12 Jan 2004 15:07:33 +0200 From: Tom Alsberg To: burawa Message-ID: <20040112130732.GB403@cs.huji.ac.il> Mail-Followup-To: Tom Alsberg , burawa , FreeBSD Hackers List References: <20040111114539.GA53691@cs.huji.ac.il> <000d01c3d8ea$aa4dacf0$e014a8c0@unitpnnem56cwm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c3d8ea$aa4dacf0$e014a8c0@unitpnnem56cwm> X-Face: "5"j@Y1Peoz1; ftTv>\|['ox-csmV+:_RDNdi/2lSe2x?0:HVAeVW~ajwQ7RfDlcb^18eJ; t,O,s5-aNdU/DJ2E8h1s,..4}N9$27u`pWmH|; s!zlqqVwr9R^_ji=1\3}Z6gQBYyQ]{gd5-V8s^fYf{$V2*_&S>eA|SH@Y\hOVUjd[5eah{EO@gCr.ydSpJHJIU[QsH~bC?$C@O:SzF=CaUxp80-iknM(]q(W Subject: Re: Remote GDB online and kernel functions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 13:07:37 -0000 Well, I'll look into that in GDB somewhen, when I have time if nobody else has any idea... I tried four functions from three different areas of the kernel, and all crashed, so I didn't bother to try more... But I'll try more somewhen and see if I find functions which don't cause a panic... Thanks, -- Tom On Mon, Jan 12, 2004 at 05:01:28PM +0800, burawa wrote: > I am just suffering from such things in OpenBSD, it seems that it is > a bug of gdb, which has incorrect symbol relocation address when > calling some functions, so it may call an incorrect address of > subroutines, thus ... > I am not sure, but if I adjust link order of some .o when making > kernel, some functions which can not formerly be called from gdb > may now be called and work well -- Tom Alsberg - hacker (being the best description fitting this space) Web page: http://www.cs.huji.ac.il/~alsbergt/ DISCLAIMER: The above message does not even necessarily represent what my fingers have typed on the keyboard, save anything further.