From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16515 invoked by alias); 10 Mar 2005 15:52:41 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15987 invoked from network); 10 Mar 2005 15:52:30 -0000 Received: from unknown (HELO SERRANO.CAM.ARTIMI.COM) (217.40.213.68) by sourceware.org with SMTP; 10 Mar 2005 15:52:30 -0000 Received: from 127.0.0.1 (AVG SMTP 7.0.308 [266.7.1]); Thu, 10 Mar 2005 15:13:02 +0000 Received: from mace ([192.168.1.25]) by SERRANO.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.211); Thu, 10 Mar 2005 15:13:02 +0000 From: "Dave Korn" To: "'Atul Talesara'" , "'Hareesh Nagarajan'" , "'GDB'" Subject: RE: Is it possible to save breakpoints to a file? Date: Thu, 10 Mar 2005 15:52:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <7F17177AC9AC2F4CB4A1A33C936D038D07240F@nevismail01.pune.nevisnetworks.com> Message-ID: X-OriginalArrivalTime: 10 Mar 2005 15:13:02.0446 (UTC) FILETIME=[A71B60E0:01C52583] X-SW-Source: 2005-03/txt/msg00107.txt.bz2 ----Original Message---- >From: Atul Talesara >Sent: 10 March 2005 10:53 >> Is it possible to save all breakpoints that one >> sets to a file, so that >> we can reload the breakpoints set during the next >> debug run? > Well, though not exactly the same [... snip ...] > In fact you can have *any* command you wish in the > sourced file. If you put all these in '.gdbinit' > file then gdb will automatically source this on start up! If you are using the insight GUI for gdb, that will save your breakpoints for you as part of the project preferences. It writes them into .gdbinit automatically and reloads them next time you're debugging the same executable. cheers, DaveK -- Can't think of a witty .sigline today....