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 ...



>     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




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