From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: kgdb in emacs Date: Mon, 28 Jan 2008 09:40:16 +1300 Message-ID: <18332.60464.847230.58035@kahikatea.snap.net.nz> References: <18332.25118.870355.870079@kahikatea.snap.net.nz> <599749.86642.qm@web57714.mail.re3.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201467738 1666 80.91.229.12 (27 Jan 2008 21:02:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jan 2008 21:02:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Sanjeev Kumar.S" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 27 22:02:37 2008 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 1JJEeC-0003K6-RD for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jan 2008 22:02:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJEdm-0001jF-7x for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jan 2008 16:02:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJEdR-0001iy-F0 for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 16:01:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJEdQ-0001iH-45 for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 16:01:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJEdP-0001iE-UG for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 16:01:47 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJEdP-00026t-65 for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 16:01:47 -0500 Original-Received: from kahikatea.snap.net.nz (155.61.255.123.dynamic.snap.net.nz [123.255.61.155]) by viper.snap.net.nz (Postfix) with ESMTP id 25E903DA684; Mon, 28 Jan 2008 09:40:23 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 345448FC6D; Mon, 28 Jan 2008 09:40:18 +1300 (NZDT) In-Reply-To: <599749.86642.qm@web57714.mail.re3.yahoo.com> X-Mailer: VM 7.19 under Emacs 23.0.50.39 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:51015 Archived-At: > Sanjeev: I'm using emacs graphical. I see > now what you meant by gdb-many-windows > (locals and breakpoints and stackframes). > and I dont think its got anything to do with > source code display, eg in my case even > after the new break enters the old source code is displayed in the multi-window mode. > and when I do a "n" the current source where the break > hit was displayed. and like in other emacs instances > after the "n" when I do a "f" I get the source > opened in a seperate window if it is not already > opened. By break do you mean breakpoint? (there should be a red bullet in the fringe by breakpoints). If so, how does the breakpoint get set? I'm not sure what you are saying here. Sometimes if the source is already in another window and execution goes there GUD will display in that window and not the dedicated source buffer. To generate a log of the transactions between kgdb and Emacs can you please do the following: 1) Set gdb-enable-debug to t using M-x set-variable. 2) Do M-x gdb and start kgdb with the arguments you are using (and tell me what they are). 3) Type 'n' or 's' to get the source buffer to display. 4) Post the value of gdb-debug-log to me (it may be large and is not of interest to the list). > But I think like you said the marker ^Z^Z is > missing, I dont want to step everytime I > jump into gdb to see where I am in the code. > Any way to get this working ? I tried doing a > ^Z^Z on the emacs window and it minimized on the first ^Z :). Doesnt want > me to use it anymore. The ^Z^Z markers that GDB outputs are characters that are processed by the process-filter and are not related to ^Z typed from the keyboard which is bound to the command suspend-frame. -- Nick http://www.inet.net.nz/~nickrob