This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Writing to Memory and Page Alignment
- From: Duane Ellis <duane at topaz dot franklin dot com>
- To: mckennad at esatclear dot ie
- Cc: gdb at sources dot redhat dot com, insight at sources dot redhat dot com
- Date: Thu, 7 Aug 2003 08:06:52 -0400
- Subject: Re: Writing to Memory and Page Alignment
- References: <3f322bad.5564.0@esatclear.ie>
- Reply-to: duane at topaz dot franklin dot com
>> 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.