From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Michael Chen" Newsgroups: gmane.emacs.help Subject: Emacs+GDB: recompile while keep the breakpoints? Date: Fri, 7 Sep 2007 19:47:14 -0500 Message-ID: <71ab86070709071747u26881d9fo6aac0239afd76c3e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189248779 894 80.91.229.12 (8 Sep 2007 10:52:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2007 10:52:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 12:52:58 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 1ITxvt-0002FG-I0 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 12:52:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITxvr-0006fT-DY for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 06:52:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IToTn-0006xz-9O for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 20:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IToTl-0006xN-Km for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 20:47:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IToTl-0006xG-BI for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 20:47:17 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IToTk-0002tR-PY for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 20:47:16 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so516396rvf for ; Fri, 07 Sep 2007 17:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=8Ort1bDgZwNc+QksycWZe+OK1nP4hXVjWUF/FlBfQiM=; b=F5+o0PTMzb0bwyT2tMmeuRXYQwnnj4T2z52IX8SiGVyx6gGbLoMioO02wOZ3O3AhS7dTc2szLrkn1xE4CcYifyhl4IaMwEc6LTqtcmOkDkjheRF8FZTFtNW5palhHhTce1P6tIXml4Pvdr3jrOWtdgves84Zgq6cUe1HrwiPIcE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lYMZ1gVoXb4bufnfH2bcrnkVvOaDKrxVV7evSgxtoGrKdWa9nDk1OlKJwypnV3h7AnzQR2dTlD7Jauh0sHGQkjVs9vgYazGs2iclzXIatj/lNtMOZZg6KcrtPu6Jf35ClP9UBWPANDiplvNtUwziCoWX9VlDxJJ/ItWZDWJSRdE= Original-Received: by 10.142.231.7 with SMTP id d7mr119103wfh.1189212434569; Fri, 07 Sep 2007 17:47:14 -0700 (PDT) Original-Received: by 10.143.4.13 with HTTP; Fri, 7 Sep 2007 17:47:14 -0700 (PDT) Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 08 Sep 2007 06:51:09 -0400 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:47341 Archived-At: dear there, 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? Thanks. -- Michael Chen