From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32517 invoked by alias); 9 Sep 2010 16:36:53 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 32396 invoked by uid 22791); 9 Sep 2010 16:36:52 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Thu, 09 Sep 2010 16:36:00 -0000 From: Jan Kratochvil To: Oleg Nesterov Cc: "Frank Ch. Eigler" , archer@sourceware.org, utrace-devel@redhat.com Subject: Re: gdbstub initial code, v9 Message-ID: <20100909163635.GA12356@host1.dyn.jankratochvil.net> References: <20100908191838.GA27120@redhat.com> <20100909152937.GA21586@redhat.com> <20100909155047.GA22403@redhat.com> <20100909160423.GA9768@host1.dyn.jankratochvil.net> <20100909163031.GA23799@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100909163031.GA23799@redhat.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-SW-Source: 2010-q3/txt/msg00166.txt.bz2 On Thu, 09 Sep 2010 18:30:31 +0200, Oleg Nesterov wrote: > OOPS! indeed, unhex() confuses lo and hi. It works for 0xcc, though. > Cough... could you tell me how can I change the variable "done" > without printing it? (gdb) help set variable Evaluate expression EXP and assign result to variable VAR, using assignment syntax appropriate for the current language (VAR = EXP or VAR := EXP for example). VAR may be a debugger "convenience" variable (names starting with $), a register (a few standard names starting with $), or an actual variable in the program being debugged. EXP is any valid expression. This may usually be abbreviated to simply "set". Regards, Jan