From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5604 invoked by alias); 25 Jul 2006 15:45:55 -0000 Received: (qmail 5480 invoked by uid 22791); 25 Jul 2006 15:45:51 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 25 Jul 2006 15:45:46 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1G5P6N-0003TF-I7; Tue, 25 Jul 2006 11:45:43 -0400 Date: Tue, 25 Jul 2006 16:01:00 -0000 From: Daniel Jacobowitz To: Efim Monyak Cc: gdb@sources.redhat.com Subject: Re: restart for remote target Message-ID: <20060725154543.GA13313@nevyn.them.org> Mail-Followup-To: Efim Monyak , gdb@sources.redhat.com References: <44C63BD6.7090505@lipowsky.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44C63BD6.7090505@lipowsky.de> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00176.txt.bz2 On Tue, Jul 25, 2006 at 05:42:14PM +0200, Efim Monyak wrote: > Hi all, > > I need an restart command for remote target. Set Program Counter to i.e. > 0 is not an > option because interrupts. > I implemented it as user-defined command but all breakpoints must be > delete before load. > After load all breakpoints are lost. > Is it possible to save breakpoint data in order restore it after > application reload? Sorry, but your explanation omits too much; we need more information. Load should not remove breakpoints. Would it help you to connect using 'target extended-remote', and then use "run" to restart the target? That sends an 'R' packet to the stub, which can do whatever it needs to. -- Daniel Jacobowitz CodeSourcery