This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB command to write to memory
- From: Andreas Schwab <schwab at suse dot de>
- To: Guillaume MENANT <guillaume dot menant at geensys dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 28 Feb 2008 10:42:09 +0100
- Subject: Re: GDB command to write to memory
- References: <15730605.post@talk.nabble.com> <15731837.post@talk.nabble.com>
Guillaume MENANT <guillaume.menant@geensys.com> writes:
> The only solution i've found is the "set var" command but it's limited in
> use. Is there a more flexible command ?
(gdb) set {int}0xdeadbeef = 42
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."