From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29581 invoked by alias); 16 Apr 2011 11:40:18 -0000 Received: (qmail 29572 invoked by uid 22791); 16 Apr 2011 11:40:17 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SARE_RECV_FREESERVE X-Spam-Check-By: sourceware.org Received: from smtp5.freeserve.com (HELO smtp5.freeserve.com) (193.252.22.128) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 16 Apr 2011 11:40:03 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3411.me.freeserve.com (SMTP Server) with ESMTP id B5D461C00096; Sat, 16 Apr 2011 13:40:00 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3411.me.freeserve.com (SMTP Server) with ESMTP id A59AE1C00098; Sat, 16 Apr 2011 13:40:00 +0200 (CEST) Received: from barnowl.buzzard.freeserve.co.uk (unknown [95.148.213.65]) by mwinf3411.me.freeserve.com (SMTP Server) with ESMTP id 88CBD1C00096; Sat, 16 Apr 2011 13:40:00 +0200 (CEST) Received: from [192.168.2.11] (unknown [192.168.2.11]) by barnowl.buzzard.freeserve.co.uk (Postfix) with ESMTP id 3D162C80270; Sat, 16 Apr 2011 12:35:18 +0100 (BST) Message-ID: <4DA97EF5.7070603@buzzard.freeserve.co.uk> Date: Sat, 16 Apr 2011 11:40:00 -0000 From: Richard Earnshaw User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: Mike Frysinger CC: gdb-patches@sourceware.org, toolchain-devel@blackfin.uclinux.org Subject: Re: [PATCH v2] gdb: sim: add command line completion References: <1302219156-9055-1-git-send-email-vapier@gentoo.org> <1302837600-23098-1-git-send-email-vapier@gentoo.org> In-Reply-To: <1302837600-23098-1-git-send-email-vapier@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00238.txt.bz2 On 15/04/11 04:20, Mike Frysinger wrote: > For now, only the sub-command name is completed. No support yet for > completing options to that command. But even this is a huge step as > currently, nothing is completed, and the basic "help sim" is fairly > obtuse as to what exactly the "sim" command accepts. > > Signed-off-by: Mike Frysinger > > gdb/: > 2011-04-07 Mike Frysinger > > * remote-sim.c (sim_command_completer): New function. > (_initialize_remote_sim): Set completer to sim_command_completer. > > include/gdb/: > 2011-04-07 Mike Frysinger > > * remote-sim.h (sim_complete_command): New prototype. > > sim/: > 2011-04-07 Mike Frysinger > > * sim-options.c (complete_option_list, sim_complete_command): > New functions. This breaks building gdb for arm-eabi. /home/rearnsha/gnusrc/gcc-cross/git/gdb/remote-sim.c:1205: undefined reference to `sim_complete_command' Note the ARM simulator doesn't use most of the sim/common infrastructure. R.