From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: gdba locals buffer does not show function arguments Date: Fri, 21 Sep 2007 19:38:23 +1200 Message-ID: <18163.29935.95874.646659@kahikatea.snap.net.nz> References: <18162.22131.415529.319655@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190360355 6895 80.91.229.12 (21 Sep 2007 07:39:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2007 07:39:15 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: tromey@redhat.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 21 09:39:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IYd6P-0004ZT-An for ged-emacs-devel@m.gmane.org; Fri, 21 Sep 2007 09:39:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYd6N-0007BD-9E for ged-emacs-devel@m.gmane.org; Fri, 21 Sep 2007 03:39:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYd60-00073c-Ey for emacs-devel@gnu.org; Fri, 21 Sep 2007 03:38:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYd5y-00072l-Ee for emacs-devel@gnu.org; Fri, 21 Sep 2007 03:38:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYd5y-00072h-AC for emacs-devel@gnu.org; Fri, 21 Sep 2007 03:38:38 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IYd5y-00061v-1n for emacs-devel@gnu.org; Fri, 21 Sep 2007 03:38:38 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IYd5N-0002Ii-S8 for emacs-pretest-bug@gnu.org; Fri, 21 Sep 2007 03:38:01 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IYd5r-00060W-LB for emacs-pretest-bug@gnu.org; Fri, 21 Sep 2007 03:38:37 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IYd5r-000606-5C for emacs-pretest-bug@gnu.org; Fri, 21 Sep 2007 03:38:31 -0400 Original-Received: from kahikatea.snap.net.nz (48.62.255.123.dynamic.snap.net.nz [123.255.62.48]) by viper.snap.net.nz (Postfix) with ESMTP id 454853DA24B; Fri, 21 Sep 2007 19:38:26 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 270808FC6D; Fri, 21 Sep 2007 19:38:24 +1200 (NZST) In-Reply-To: X-Mailer: VM 7.19 under Emacs 23.0.50.9 X-Detected-Kernel: Linux 2.4-2.6 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:79423 gmane.emacs.pretest.bugs:19960 Archived-At: > Yeah, I did notice the info in the stack window. I found that harder > to read, though. The locals window is more nicely formatted. Also, > lines in the stack window are truncated; so if you have a long > function name, some values may be hidden. > > I don't understand why gdb differentiates between locals and > arguments. And I don't think that Emacs necessarily has to follow > this distinction. I _could_ parse the arguments out of the stack buffer so that they're not duplicated, but since the plan is to migrate to GDB/MI I don't think it's worth the effort. I hear what you say though and I'll try to implement this design in the future with MI commands. -- Nick http://www.inet.net.nz/~nickrob