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: Emacs+GDB: recompile while keep the breakpoints? Date: Sat, 8 Sep 2007 23:40:17 +1200 Message-ID: <18146.35361.129546.122189@kahikatea.snap.net.nz> References: <71ab86070709071747u26881d9fo6aac0239afd76c3e@mail.gmail.com> 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 1189251690 8570 80.91.229.12 (8 Sep 2007 11:41:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2007 11:41:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Michael Chen" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 13:41:29 2007 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 1ITygd-00049a-Nr for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 13:41:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITygb-0007qi-JG for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 07:41:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITyfx-0007Pq-AW for help-gnu-emacs@gnu.org; Sat, 08 Sep 2007 07:40:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITyfv-0007Nx-GC for help-gnu-emacs@gnu.org; Sat, 08 Sep 2007 07:40:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITyfv-0007Nj-AO for help-gnu-emacs@gnu.org; Sat, 08 Sep 2007 07:40:31 -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 1ITyfu-0005uR-PC for help-gnu-emacs@gnu.org; Sat, 08 Sep 2007 07:40:31 -0400 Original-Received: from kahikatea.snap.net.nz (4.41.255.123.static.snap.net.nz [123.255.41.4]) by viper.snap.net.nz (Postfix) with ESMTP id AB9AE3D9EB5; Sat, 8 Sep 2007 23:40:24 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 529858FC6D; Sat, 8 Sep 2007 23:40:18 +1200 (NZST) In-Reply-To: <71ab86070709071747u26881d9fo6aac0239afd76c3e@mail.gmail.com> X-Mailer: VM 7.19 under Emacs 23.0.50.5 X-Detected-Kernel: 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:47347 Archived-At: > Before I recompile a source, I have to issue "q" to terminate GDB, > otherwise I got compilation error. However once I terminate GDB, > recompile the source, and come back to debugging, I lost all my > breakpoints!! This makes my debugging cycle tedious. What can I do? What version of Emacs are you using? What configuration? Please use M-x report-emacs-bug. What version of GDB are you using? I presume you're running GDB and compiling in Emacs but you don't fully explain this. What compilation error do you get? Please read "Checklist for Bug Reports" in the Emacs info manual. -- Nick http://www.inet.net.nz/~nickrob