This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: A copy/save command ...
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