This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A copy/save command ...


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


> I'm wondering what the semantics of ``restore'' are and how they differ 
> from load in some cases.  Perhaphs ``(gdb) load <file> <offset>'' is 
> syntatic sugar for one of the ``(gdb) image ...'' commands.

Yes, quite possibly.


- FChE

Attachment: msg00016/pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]