From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5997 invoked by alias); 7 Aug 2003 12:06:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5979 invoked from network); 7 Aug 2003 12:06:55 -0000 Received: from unknown (HELO opal.franklin.com) (63.88.59.84) by sources.redhat.com with SMTP; 7 Aug 2003 12:06:55 -0000 Received: from europa.franklin.com (europa [192.9.200.131]) by opal.franklin.com (8.12.9+Sun/8.12.9) with ESMTP id h77C6qL4016131; Thu, 7 Aug 2003 08:06:52 -0400 (EDT) Received: (from duane@localhost) by europa.franklin.com (8.11.6/8.9.3) id h77C6q010103; Thu, 7 Aug 2003 08:06:52 -0400 Date: Thu, 07 Aug 2003 12:06:00 -0000 Message-Id: <200308071206.h77C6q010103@europa.franklin.com> From: Duane Ellis To: mckennad@esatclear.ie CC: gdb@sources.redhat.com, insight@sources.redhat.com In-reply-to: <3f322bad.5564.0@esatclear.ie> (mckennad@esatclear.ie) Subject: Re: Writing to Memory and Page Alignment Reply-to: duane@topaz.franklin.com References: <3f322bad.5564.0@esatclear.ie> X-SW-Source: 2003-08/txt/msg00093.txt.bz2 >> 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.