Writing to Memory and Page Alignment

Duane Ellis duane@topaz.franklin.com
Thu Aug 7 12:06:00 GMT 2003


>> Is it possible to force gdb to write data to a target in a page
   aligned ( boundary ) manner?

Yes - Use the Source Luke.

Not sure what you mean by $MF0,40 .. and $MF0,10

But -- ignoring that.

I presume you are using GDB remote in some form.

Look at the low level target read/write memory functions.

Example: "gdb/target.c - look at target_xfer_memory()"

Make your changes there - or what ever is the appropriate
target file(s) for your target. & build.

-Duane.



More information about the Gdb mailing list