From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25919 invoked by alias); 30 Jul 2004 15:27:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25911 invoked from network); 30 Jul 2004 15:27:17 -0000 Received: from unknown (HELO calvin.codito.co.in) (203.199.140.162) by sourceware.org with SMTP; 30 Jul 2004 15:27:17 -0000 Received: from [192.168.100.52] (arnor.codito.co.in [192.168.100.52]) by calvin.codito.co.in (8.12.10/8.12.10) with ESMTP id i6UFT4Fn025054 for ; Fri, 30 Jul 2004 20:59:05 +0530 Message-ID: <410A68AE.2090004@codito.com> Date: Fri, 30 Jul 2004 15:27:00 -0000 From: Ramana Radhakrishnan User-Agent: Mozilla Thunderbird 0.6 (X11/20040605) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [trivial] remove references to add_setshow_cmd_full from arm-tdep.c Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00500.txt.bz2 Hi , While attempting to build cvs head now for arm-elf I ran into a problem with add_setshow_cmd_full for apcs32. It has been made static in cli-decode.c . Someone has corrected the call but not removed the reference . So here goes. This patch removes the reference. Below the call to add_setshow_cmd_full and a call to add_setshow_cmd_boolean is present below. Ok to apply ? cheers Ramana --- src/gdb/arm-tdep.c 2004-07-30 20:44:58.000000000 +0530 +++ src-working/gdb/arm-tdep.c 2004-07-30 20:54:09.000000000 +0530 @@ -2940,7 +2940,15 @@ set_cmd_sfunc (new_set, set_disassembly_style_sfunc); deprecated_add_show_from_set (new_set, &showarmcmdlist); - + + add_setshow_cmd_full ("apcs32", no_class, + var_boolean, (char *) &arm_apcs_32, "\ +Set usage of ARM 32-bit mode.", "\ +Show usage of ARM 32-bit mode.", "\ +Determine the usage of ARM 32-bit mode.", "\ +Usage of ARM 32-bit mode is %s.", + NULL, NULL, + &setlist, &showlist, &new_set, &new_show); deprecate_cmd (new_set, "set arm apcs32"); deprecate_cmd (new_show, "show arm apcs32");