This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Manipulating memory
On Thursday 07 August 2008 09:42:23 Eran Ifrah wrote:
> On Thu, Aug 7, 2008 at 10:15 AM, Nick Roberts <nickrob@snap.net.nz> wrote:
> > > > GDB has an undocumented MI command called -data-write-memory. I've 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?
>
> But, I will document it once I will explore all its options.
As side note: And maybe documentation for non-implemented
features could be removed.
For the original problem: looks like
set {char[100]} buffer_in_debuggee = { 's','o','m','e',' ','d','a','t','a',0 }
works.
André