From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5023 invoked by alias); 4 Jan 2002 21:24:35 -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 4996 invoked from network); 4 Jan 2002 21:24:31 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sources.redhat.com with SMTP; 4 Jan 2002 21:24:31 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 466A83EB9; Fri, 4 Jan 2002 16:24:28 -0500 (EST) Message-ID: <3C361D8B.1020102@cygnus.com> Date: Fri, 04 Jan 2002 13:24:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: "Frank Ch. Eigler" Cc: Andrew Cagney , gdb@sources.redhat.com Subject: Re: A copy/save command ... References: <3C341E2D.6050009@cygnus.com> <20020103155801.A12966@nevyn.them.org> <3C352FB8.2010607@cygnus.com> <3C361749.7020306@cygnus.com> <20020104160157.D6450@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00018.txt.bz2 > Hi - > > cagney wrote: > >> > [...] >> > where, say, RANGE could be >> > ADDR1 ADDR2 >> > "region 1" -- previously set memory region > >> >> I'm not sure what you mean by a previously set memory region. [...] > > > I was referring to regions as managed by the "mem" command, as in > > (gdb) mem 2000 2500 > (gdb) info mem > [...] > (gdb) image store region 1 /my/file srec Ok, it would need a different syntax though. region and 1 are both valid addresses. (not that I'm actually going to implement this part). >> I'm wondering what the semantics of ``restore'' are and how they differ >> from load in some cases. Perhaphs ``(gdb) load '' is >> syntatic sugar for one of the ``(gdb) image ...'' commands. > > > Yes, quite possibly. I'm still wondering what the semantics of restore are ... Andrew