From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 885 invoked by alias); 7 Aug 2008 09:12:51 -0000 Received: (qmail 872 invoked by uid 22791); 7 Aug 2008 09:12:48 -0000 X-Spam-Check-By: sourceware.org Received: from hoat.troll.no (HELO hoat.troll.no) (62.70.27.150) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Aug 2008 09:12:09 +0000 Received: from hoat.troll.no (tedur.troll.no [62.70.27.154]) by hoat.troll.no (Postfix) with SMTP id D458320AA3 for ; Thu, 7 Aug 2008 11:12:06 +0200 (CEST) Received: from gar.trolltech.de (gar.trolltech.de [10.4.0.24]) by hoat.troll.no (Postfix) with ESMTP id BBA7B209D7 for ; Thu, 7 Aug 2008 11:12:06 +0200 (CEST) From: =?iso-8859-1?q?Andr=E9_P=F6nitz?= To: gdb@sourceware.org Subject: Re: Manipulating memory Date: Thu, 07 Aug 2008 09:12:00 -0000 User-Agent: KMail/1.9.9 References: <18586.41219.18256.847372@kahikatea.snap.net.nz> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200808071114.58561.apoenitz@trolltech.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00122.txt.bz2 On Thursday 07 August 2008 09:42:23 Eran Ifrah wrote: > On Thu, Aug 7, 2008 at 10:15 AM, Nick Roberts wrote: > > > > GDB has an undocumented MI command called -data-write-memory. I'v= e not > > > > used it though, and don't know if it works or does what you want. > > > > > > > > > > Thanks ! this is exactly what I was looking for: the sibling function > > > of -data-read-memory. > > > > > > Any ideas why this command is undocumented? > > > > Not really. If it works for you, perhaps you could documentation. > I was not referring to the actual documentation, but maybe there is a > reason for that? unsupported? >=20 > But, I will document it once I will explore all its options. As side note: And maybe documentation for non-implemented=20 features could be removed. For the original problem: looks like set {char[100]} buffer_in_debuggee =3D { 's','o','m','e',' ','d','a','t= ','a',0 } works.=20 Andr=E9