From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23648 invoked by alias); 10 Sep 2010 18:14:24 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 23635 invoked by uid 22791); 10 Sep 2010 18:14:23 -0000 X-SWARE-Spam-Status: No, hits=-6.4 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: Fri, 10 Sep 2010 18:14:00 -0000 From: Oleg Nesterov To: Roland McGrath Cc: Tom Tromey , utrace-devel@redhat.com, "Frank Ch. Eigler" , Jan Kratochvil , archer@sourceware.org Subject: Re: gdbstub initial code, v9 Message-ID: <20100910181100.GA27699@redhat.com> References: <20100908191838.GA27120@redhat.com> <20100909152937.GA21586@redhat.com> <20100909155047.GA22403@redhat.com> <20100909160423.GA9768@host1.dyn.jankratochvil.net> <20100909163031.GA23799@redhat.com> <20100909163635.GA12356@host1.dyn.jankratochvil.net> <20100909164500.GA25164@redhat.com> <20100910101242.F0B83405D5@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100910101242.F0B83405D5@magilla.sf.frob.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q3/txt/msg00176.txt.bz2 On 09/10, Roland McGrath wrote: > > > >>>>> "Oleg" == Oleg Nesterov writes: > > > > Oleg> (gdb) set var 0 > > > > You need: set variable var = 0 > > The "variable" can be abbreviated. > > I've always just used: > > (gdb) set var=0 No, I tried this too, doesn't work. (gdb) set var=0 A syntax error in expression, near `=0'. But, it turns out I choosed a bad name for the variable when I tested the fix in unxex(). (gdb) set xxx=0 This works. (gdb) set var var=0 This works too. I guess, when gdb sees "set var" it expects the full "set variable ..." command. Oleg.