A copy/save command ...

Andrew Cagney ac131313@cygnus.com
Sat Feb 23 10:24:00 GMT 2002


>     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





More information about the Gdb mailing list