From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: New function for gdb-ui.el? Date: Mon, 31 Oct 2005 11:33:33 +1300 Message-ID: <17253.19005.510399.563214@kahikatea.snap.net.nz> References: <17243.21638.138477.436126@kahikatea.snap.net.nz> <17245.17271.523511.307415@kahikatea.snap.net.nz> <17246.47395.926373.263704@kahikatea.snap.net.nz> <17247.17729.366833.431749@kahikatea.snap.net.nz> <87oe59oqro.fsf@robotron.ath.cx> <17250.38094.341063.582730@kahikatea.snap.net.nz> <87vezgjx2d.fsf@robotron.ath.cx> <17251.56720.674928.555057@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1130711718 4413 80.91.229.2 (30 Oct 2005 22:35:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2005 22:35:18 +0000 (UTC) Cc: David Hansen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 30 23:35:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWLkA-0003op-N6 for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2005 23:33:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWLk8-0002sU-La for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2005 17:33:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWLjt-0002sI-Th for emacs-devel@gnu.org; Sun, 30 Oct 2005 17:33:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWLjr-0002rj-03 for emacs-devel@gnu.org; Sun, 30 Oct 2005 17:33:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWLjq-0002rg-Sf for emacs-devel@gnu.org; Sun, 30 Oct 2005 17:33:18 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWLjk-00052p-Q8; Sun, 30 Oct 2005 17:33:13 -0500 Original-Received: from kahikatea.snap.net.nz (p157-tnt1.snap.net.nz [202.124.110.157]) by viper.snap.net.nz (Postfix) with ESMTP id C016E72FDCB; Mon, 31 Oct 2005 11:32:59 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 7496C83AE; Mon, 31 Oct 2005 11:33:34 +1300 (NZDT) Original-To: snogglethorpe@gmail.com, miles@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45145 Archived-At: Miles Bader writes: > 2005/10/30, Nick Roberts : > > > A confused linker... > > > > I don't know what you're talking about and your cryptic posts don't help. > > He was just pointing out (cryptically) that the compiler doesn't do > inlining by copying machine code, and that doing so wouldn't work very > well... (though I sort of assumed you weren't being literal when you > said that) He seemed to be saying that the function needs to be static but that does not seem to be the case; rather calls need to be made in the same file that the function is defined, to be inlined. Reading the gcc manual, it says that no inlining, even when specified with the inline keyword in the code, takes place without optimisation. This was contrary to my expection. In the manual, I have stated that the command that I have defined (gdb-mouse-until) only works within the same frame. If that is not the case, and someone can correct me in plain English, I will gladly change this. Nick