From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12966 invoked by alias); 31 Mar 2008 17:39:29 -0000 Received: (qmail 12956 invoked by uid 22791); 31 Mar 2008 17:39:28 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Mar 2008 17:39:11 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id A3DA13C26C; Mon, 31 Mar 2008 10:39:09 -0700 (PDT) Subject: Re: Breakpoints saving From: Michael Snyder To: Roberto Saltini Cc: gdb@sourceware.org In-Reply-To: <53d46f3a0803302230r9b8f28dsacafd52c23d27d4e@mail.gmail.com> References: <53d46f3a0803301930x73d080dfv4de7c78dc6d4312f@mail.gmail.com> <53d46f3a0803302230r9b8f28dsacafd52c23d27d4e@mail.gmail.com> Content-Type: text/plain Date: Mon, 31 Mar 2008 23:01:00 -0000 Message-Id: <1206985149.31772.39.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00283.txt.bz2 On Mon, 2008-03-31 at 07:30 +0200, Roberto Saltini wrote: > Hello, > is it possible to save somewhere the actual configuration of a debug > session(breakpoints, wathcpoints, displays) ? Or directly in the target file? > Thank you. Not really. It is a request that we've seen before. Problem is that a lot of that info is very context sensative, so it's not really the case that you can, for instance, save it in the middle of a session and then reload it at the beginning of another session. As a work around, you can save the outputs of eg. "info break" and use those to reconstruct your session state by hand later.