From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3761 invoked by alias); 28 Feb 2008 09:42:32 -0000 Received: (qmail 3750 invoked by uid 22791); 28 Feb 2008 09:42:32 -0000 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Feb 2008 09:42:12 +0000 Received: from Relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id DDDEC38A1C; Thu, 28 Feb 2008 10:42:09 +0100 (CET) From: Andreas Schwab To: Guillaume MENANT Cc: gdb@sourceware.org Subject: Re: GDB command to write to memory References: <15730605.post@talk.nabble.com> <15731837.post@talk.nabble.com> X-Yow: Everything will be ALL RIGHT if we can just remember things about ALGEBRA.. or SOCCER.. or SOCIALISM.. Date: Thu, 28 Feb 2008 15:57:00 -0000 In-Reply-To: <15731837.post@talk.nabble.com> (Guillaume MENANT's message of "Thu\, 28 Feb 2008 00\:30\:57 -0800 \(PST\)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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-02/txt/msg00244.txt.bz2 Guillaume MENANT 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."