From patchwork Wed Jun 4 03:39:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 1279 Received: (qmail 26769 invoked by alias); 4 Jun 2014 03:39:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 26759 invoked by uid 89); 4 Jun 2014 03:39:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f171.google.com Received: from mail-pd0-f171.google.com (HELO mail-pd0-f171.google.com) (209.85.192.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 04 Jun 2014 03:39:53 +0000 Received: by mail-pd0-f171.google.com with SMTP id y13so5494854pdi.2 for ; Tue, 03 Jun 2014 20:39:51 -0700 (PDT) X-Received: by 10.68.172.193 with SMTP id be1mr58544497pbc.31.1401853190542; Tue, 03 Jun 2014 20:39:50 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id oa3sm4016825pbb.15.2014.06.03.20.39.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jun 2014 20:39:50 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: Re: New ARI warning Wed Jun 4 01:53:01 UTC 2014 References: <20140604015301.GA17081@sourceware.org> Date: Tue, 03 Jun 2014 20:39:32 -0700 In-Reply-To: <20140604015301.GA17081@sourceware.org> (GDB Administrator's message of "Wed, 4 Jun 2014 01:53:05 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes GDB Administrator writes: > 260a261,262 >> gdb/guile/scm-param.c:178: regression: var_boolean: Replace var_boolean with add_setshow_boolean_cmd > gdb/guile/scm-param.c:178: p_smob->type = var_boolean; >> gdb/guile/scm-param.c:852: regression: var_boolean: Replace var_boolean with add_setshow_boolean_cmd > gdb/guile/scm-param.c:852: int param_type = var_boolean; Hi. I applied this patch. 2014-06-03 Doug Evans * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. (gdbscm_make_parameter): Ditto. diff --git a/gdb/guile/scm-param.c b/gdb/guile/scm-param.c index ab2efd1..5bfb4ae 100644 --- a/gdb/guile/scm-param.c +++ b/gdb/guile/scm-param.c @@ -175,7 +175,7 @@ pascm_make_param_smob (void) memset (p_smob, 0, sizeof (*p_smob)); p_smob->cmd_class = no_class; - p_smob->type = var_boolean; + p_smob->type = var_boolean; /* ARI: var_boolean */ p_smob->set_func = SCM_BOOL_F; p_smob->show_func = SCM_BOOL_F; p_scm = scm_new_smob (parameter_smob_tag, (scm_t_bits) p_smob); @@ -849,7 +849,7 @@ gdbscm_make_parameter (SCM name_scm, SCM rest) char *s; char *name; int cmd_class = no_class; - int param_type = var_boolean; + int param_type = var_boolean; /* ARI: var_boolean */ SCM enum_list_scm = SCM_BOOL_F; SCM set_func = SCM_BOOL_F, show_func = SCM_BOOL_F; char *doc = NULL, *set_doc = NULL, *show_doc = NULL;