From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19975 invoked by alias); 4 Jan 2002 19:54:30 -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 19924 invoked from network); 4 Jan 2002 19:54:28 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 4 Jan 2002 19:54:28 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16MaQh-0007VZ-00 for ; Fri, 04 Jan 2002 14:55:03 -0500 Date: Fri, 04 Jan 2002 11:54:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: A copy/save command ... Message-ID: <20020104145503.A28794@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <3C341E2D.6050009@cygnus.com> <20020103155801.A12966@nevyn.them.org> <3C352FB8.2010607@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00012.txt.bz2 On Fri, Jan 04, 2002 at 12:39:52PM -0500, Frank Ch. Eigler wrote: > > 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". I like it! I'm not sure putting [FORMAT] is really worthwhile, though - srec and binary would work, but we don't have enough information for more complex formats. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer