This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: command to enit a memory content
- To: kiki_wus at yahoo dot com
- Subject: Re: command to enit a memory content
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Mon, 01 Oct 2001 18:35:39 +0200
- CC: gdb at sources dot redhat dot com
- References: <20011001162659.99925.qmail@web11305.mail.yahoo.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Mon, 1 Oct 2001 09:26:59 -0700 (PDT)
> From: kiki w <kiki_wus@yahoo.com>
>
> I am trying to edit the contents of some memories
> using GDB command line,
> say I want to change the value of 0x02000000 from
> 0x12345678 to 0x87654321,
Untested:
(gdb) set *(int *)0x12345678 = 0x87654321