This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: A copy/save command ...
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sat, 23 Feb 2002 13:24:08 -0500
- Subject: Re: A copy/save command ...
- References: <3C341E2D.6050009@cygnus.com> <3C476C0B.90009@cygnus.com> <o5sn948npy.fsf@tooth.toronto.redhat.com> <3C644931.6050401@cygnus.com>
> dump memory <file> <start> <length>
> write memory from <start> to
> <start>+<length>-1 as bytes.
> While:
> (*(char*)START)@LENGTH
> is equvalent this would be
> more efficient.
> With the option:
> /a append to file
> (assuming I can get it to work and where applicable :-).
There is a bug here :-/
The parser can't easily differentiate (using LL1) between the two
``/a'''s in:
dump memory/a /a
so:
dump memory <file> <start> <stop+1>
append memory <file> <start> <stop+1>
?
Andrew