From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.bugs Subject: Re: gud/gdb Date: Sat, 29 Sep 2007 12:57:40 +1200 Message-ID: <18173.41732.473319.556775@kahikatea.snap.net.nz> References: <200709261732.l8QHWNMJ017163@u123.math.uiuc.edu> <18171.15854.668941.88316@kahikatea.snap.net.nz> <200709271230.l8RCUeLo028440@u123.math.uiuc.edu> <18172.39294.436973.108728@kahikatea.snap.net.nz> <200709281250.l8SCoD79013130@u123.math.uiuc.edu> 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 1191027481 5243 80.91.229.12 (29 Sep 2007 00:58:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2007 00:58:01 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, mike@math.cornell.edu To: dan@math.uiuc.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 02:57:55 2007 Return-path: Envelope-to: geb-bug-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 1IbQeY-0004x6-Hs for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 02:57:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbQeV-0004VX-1n for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 20:57:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbQeS-0004Tt-TT for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 20:57:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbQeR-0004Rf-1X for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 20:57:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbQeQ-0004RY-Us for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 20:57:46 -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 1IbQeQ-0006qc-Cq for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 20:57:46 -0400 Original-Received: from kahikatea.snap.net.nz (199.62.255.123.dynamic.snap.net.nz [123.255.62.199]) by viper.snap.net.nz (Postfix) with ESMTP id 7B4013D9DF9; Sat, 29 Sep 2007 12:57:43 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id A08518FC6D; Sat, 29 Sep 2007 12:57:41 +1200 (NZST) In-Reply-To: <200709281250.l8SCoD79013130@u123.math.uiuc.edu> X-Mailer: VM 7.19 under Emacs 23.0.50.13 X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16654 Archived-At: > Sorry, we've already fixed the bug in our program that caused it to crash at > that spot. I should have mentioned that we have commands in .gdbinit, so > apparently the work-around (using M-x gdba instead) that you suggest below > would have worked, and you've encountered the bug/issue before (seeminly, > emacs switches to gdb-ui.el too late, after the first source location marker > has arrived). This explains other behavior I noticed, which is that we can > work around the problem by breaking the program in a different spot first, > and then when it gets to the troublesome part (of our program to be > debugged), it works. > > Is there a reason that M-x gdba hasn't simply replaced M-x gdb? There is a thread where I suggested this, starting at: http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-07/msg00070.html It lost it's way a bit but as you're the third person to report these problems, I think we should revisit it and make gdb-ui the default in some way, at least. -- Nick http://www.inet.net.nz/~nickrob