From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7556 invoked by alias); 7 Aug 2003 10:36:31 -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 7541 invoked from network); 7 Aug 2003 10:36:30 -0000 Received: from unknown (HELO tweedledee.esatclear.ie) (194.145.128.6) by sources.redhat.com with SMTP; 7 Aug 2003 10:36:30 -0000 Received: from [194.145.128.35] (helo=esatclear.ie) by tweedledee.esatclear.ie with smtp (Exim 4.14) id 19ki8D-00072F-Ax; Thu, 07 Aug 2003 11:36:29 +0100 From: "David Mc Kenna" Reply-to: mckennad@esatclear.ie To: gdb@sources.redhat.com,insight@sources.redhat.com Date: Thu, 07 Aug 2003 10:36:00 -0000 Subject: Writing to Memory and Page Alignment Message-id: <3f322bad.5564.0@esatclear.ie> X-User-Info: 137.71.226.54 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00090.txt.bz2 Hi all, Is it possible to force gdb to write data to a target in a page aligned ( boundary ) manner? For example, I have flash memory which is located at 0x8000 and the page size is 256bytes. Under the current setup, gdb can overlap the pages and cause problems, e.g. $MF0,40:.......#CS, here pages 0 and 1 overlap. Is it possible to get gdb to split this command into two page aligned commands? i.e. $MF0,10:...#CS, page 0 written, and $M100,30:...#CS, page 1 written. Thanks, Dave Mc Kenna -- http://www.iol.ie