From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.help Subject: Re: How to customize GDB-UI layout ? Date: Sun, 25 Jan 2009 21:46:06 +0100 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232919650 5934 80.91.229.12 (25 Jan 2009 21:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 21:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 22:42:04 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRCju-00012Z-MC for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 22:41:58 +0100 Original-Received: from localhost ([127.0.0.1]:32897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRCic-0000jc-R8 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 16:40:38 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: news.eternal-september.org U2FsdGVkX18nCtzrEIkHxotnBZG9wB/zx3YScqSSDl40PUIiap7ZgI7JEGEktqILhtu20+sABhW32alORG/Pl6dywZlTHkINLs9e2fecWYFR2M3SEiFqJ3C7T6+mA9W6DbeZyBmjhds= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Sun, 25 Jan 2009 20:46:11 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/CjnZZ0XSswLlWN+oV1GcOAV5yQhiM1R8= Cancel-Lock: sha1:ARZBKWDETkqSg6Od3sjVEh+7RHo= sha1:ld/We1U2N51l3/+vszeSkdfZwn0= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:166316 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61640 Archived-At: Nick Roberts writes: > > I'm using 'M-x gdb' as GDB interface with 'gdb-many-windows' set to > > 't'. > > > > I'd like to customize the default layout which is: > > > > +--------------------------------+--------------------------------+ > > | GUD buffer (I/O of GDB) | Locals buffer | > > |--------------------------------+--------------------------------+ > > | Primary Source buffer | I/O buffer for debugged pgm | > > |--------------------------------+--------------------------------+ > > | Stack buffer | Breakpoints buffer | > > +--------------------------------+--------------------------------+ > > > > For example, I'd like to switch the I/O buffer and the GUD one. > > > > Is This possible ? > > No, but it would be quite easy to edit the gdb-setup-windows to do this. > > > Also can the locals buffer can show the current function parameters as > > well ? > > No, but there is an MI command that can do this. Currently all the frames > arguments can be seen in the stack buffer. This is quite expensive to > compute and when emacs migrates to MI they won't be available there. So, > in the future those of the current frame will probably be added to the locals > buffer as you suggest. ok Thanks -- Francis