From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29790 invoked by alias); 12 Feb 2008 19:56:10 -0000 Received: (qmail 29781 invoked by uid 22791); 12 Feb 2008 19:56:10 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Feb 2008 19:55:47 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DFBEE9811F; Tue, 12 Feb 2008 19:55:45 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id CAD689801D; Tue, 12 Feb 2008 19:55:45 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JP1EG-0007BI-TC; Tue, 12 Feb 2008 14:55:44 -0500 Date: Tue, 12 Feb 2008 19:56:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Yakov Lerner , gdb@sourceware.org Subject: Re: substitute gdb convenience variable into gdb command Message-ID: <20080212195544.GA27498@caradoc.them.org> Mail-Followup-To: Michael Snyder , Yakov Lerner , gdb@sourceware.org References: <1202845293.19253.97.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1202845293.19253.97.camel@localhost.localdomain> User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00077.txt.bz2 On Tue, Feb 12, 2008 at 11:41:33AM -0800, Michael Snyder wrote: > Hmm! That's a bit of an oversight... > thread_apply_command calls strtol. It ought to call > one of the built-in expression parsing functions. Not really. It would become pretty much impossible to parse the command if you did that. There's no reliable way to find the end of an expression if it has unknown text afterwards. -- Daniel Jacobowitz CodeSourcery