From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16160 invoked by alias); 4 Jan 2002 17:39:57 -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 16119 invoked from network); 4 Jan 2002 17:39:55 -0000 Received: from unknown (HELO toenail.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 4 Jan 2002 17:39:55 -0000 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.11.6/8.11.6) id g04Hds909764; Fri, 4 Jan 2002 12:39:54 -0500 X-Authentication-Warning: toenail.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: gdb@sources.redhat.com Subject: Re: A copy/save command ... References: <3C341E2D.6050009@cygnus.com> <20020103155801.A12966@nevyn.them.org> <3C352FB8.2010607@cygnus.com> Content-Type: text/plain; charset=US-ASCII From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 04 Jan 2002 09:39:00 -0000 In-Reply-To: <3C352FB8.2010607@cygnus.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 X-SW-Source: 2002-01/txt/msg00010.txt.bz2 cagney wrote: > [...] Lets be honest, ``copy'' is a really bad name. For all those > reasons and probably more :-) [...] Consider: (gdb) image save FILE RANGE [FORMAT] (gdb) image restore FILE [ADDR] (gdb) image compare FILE [ADDR] where, say, RANGE could be ADDR1 ADDR2 "region 1" -- previously set memory region and FORMAT could be some bfd-supported forms like "srec" or "binary". - FChE